Answer to Question #4973 in C++ for hi

Question #4973
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.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS