How would you stop a class from class from being derived or
inherited.

Answer Posted / satya

By Declaring the Class as 'Sealed' in C# or
as "NotInheritable" in VB.NET

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is polymorphism explain?

695


What is persistence in oop?

677


Why polymorphism is used in oops?

586


Is oop better than procedural?

577


Why is encapsulation used?

579






What is multilevel inheritance explain with example?

630


How does polymorphism work?

637


What is and I oop mean?

624


What is static modifier?

636


What is class in oop with example?

625


Why is oop useful?

604


Why do pointers exist?

665


What is encapsulation process?

584


What is the difference between static polymorphism and dynamic polymorphism?

587


What is difference between oop and pop?

620