Question:Define Sealing function and classes. 

Answer When an instance method declaration includes a sealed modifier, that method is said to be a sealed method. If an instance method declaration includes the sealed modifier, it must also include the override modifier. Use of the sealed modifier prevents a derived class from further overriding the method. 

+ Report
Total Preview: 898
Define Sealing function and classes.
Copyright © 2024. Powered by Intellect Software Ltd