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

Answer Posted / montylee

Here's the correct answer:
http://www.parashift.com/c++-faq-lite/strange-inheritance.html#faq-23.11

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does and I oop and sksksk mean?

655


How do you achieve polymorphism?

618


Why do we need oop?

671


What are the 3 pillars of oop?

622


What are the benefits of oop?

607






Why do we use encapsulation in oops?

529


What is polymorphism oop?

624


What is the main purpose of inheritance law?

673


There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.

1460


What is the problem with multiple inheritance?

588


What is difference between pop and oop?

609


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

2010


What is constructor overloading in oop?

607


What is inheritance in simple words?

627


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1396