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
What is the difference between structures and unions?
What is the use of ::(scope resolution operator)?
Ask to write virtual base class code?
What's the "software peter principleā?
Keyword mean in declaration?
What are punctuators in c++?
Why is swift so fast?
What is the difference between C and CPP?
What is the difference between a declaration and a definition?
What are the classes in c++?
Name four predefined macros.
Draw a flow chart and write a program for the difference between the sum of elements with odd and even numbers. Two dimensional array.
Is it possible to provide default values while overloading a binary operator?
Describe the role of the c++ in the tradeoff of safety vs. Usability?
What is a vector c++?