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

Answer Posted / deepak joshi

Guys what happened to you all???? Will 'Final' not do????

Is This Answer Correct ?    8 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the importance of oop?

623


Which language is pure oop?

560


Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.

2019


What is data binding in oops?

596


What is advantage of inheritance?

696






What is difference between data abstraction and encapsulation?

629


Can static class have constructor?

595


What is encapsulation process?

597


What is overriding in oops?

614


Why polymorphism is used in oops?

594


write a C++ program for booking using constructor and destructor.

2061


• What are the desirable attributes for memory managment?

1737


What is encapsulation with example?

589


IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?

1587


What is abstraction in oop?

646