How would you stop a class from class from being derived or
inherited?The constructer should not be Private,as object
instantiation should be allowed.
Answer Posted / mms zubeir
All the answers above are wrong. Guys, Don't provide some
junk answers! It may be misinterpretted by someone who has
less knowledge about the subject.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is vectorial capacity?
When do we use copy constructors?
Which should be more useful: the protected and public virtuals?
What is const pointer and const reference?
Difference between pointer to constant and constant pointer to a constant. Give example.
What is a tuple c++?
What is a loop? What are different types of loops in c++?
What are the uses of c++ in the real world?
Explain how would you handle a situation where you cannot call the destructor of a local explicitly?
Which is most difficult programming language?
What is virtual base class?
Can I learn c++ in a week?
When one must use recursion function? Mention what happens when recursion functions are declared inline?
Explain class invariant.
Can member data be public?