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


Please Help Members By Posting Answers For Below Questions

Is it possible to use a new for the reallocation of pointers ?

678


Does c++ have foreach?

624


List different attributes in C++?

731


What is c++ best used for?

654


What is exception handling? Does c++ support exception handling?

680






What is an object in c++?

695


Define a pointer to a data member of the type pointer to pointer?

661


What are namespaces in c++?

695


Is c++ a high level language?

642


What is virtual table?

719


Mention the ways in which parameterized can be invoked. Give an example of each.

675


What does namespace mean in c++?

724


What is the v-ptr?

743


What should main() return in c and c++?

615


What does iomanip mean in c++?

710