Why do we need a class that is abstract and sealed at the same time?Does Finalizer always get called when an object is being destroyed?
1
Expert's answer
2011-11-04T10:18:22-0400
The abstract keyword enables you to create classes and class members that are incomplete and must be implemented in a derived class. The sealed keyword enables you to prevent the inheritance of a class or certain class members that were previously marked virtual.
Does Finalizer always get called when an object is being destroyed? Answer: no.
Comments
Leave a comment