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

Thanks for the detailed answer. It's really pleased me the
way your answer is. Initially I wrote 'partial
implementation' since I couldn't get the details out of
your first answer. I am looking at the codeguru solution.
Thanks once again.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is it necessary to use a reference in the argument to the copy constructor?

637


What are the advantages of c++? Explain

601


What is the use of lambda in c++?

583


What happens if a pointer is deleted twice?

795


What are the various oops concepts in c++?

603






What is the hardest coding language to learn?

607


What is the use of endl in c++ give an example?

618


Difference between inline functions and macros?

600


Differentiate between a constructor and a destructor in c++.

575


What is the use of 'this' pointer?

774


Explain one method to process an entire string as one unit?

937


How do you flush std cout?

575


What are c++ stream classes?

562


What is polymorphism and its type in c++?

595


What is istream c++?

577