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
When do we run a shell in the unix system?
What is pointer -to-members in C++? Give their syntax?
What are default parameters? How are they evaluated in c++ function?
What is the full form of india?
What is fixed in c++?
How does com provide language transparency?
What is the difference between multiple and multilevel inheritance in c++?
What are mutator methods in c++?
What are stacks? Give an example where they are useful.
How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?
Why is that unsafe to deal locate the memory using free( ) if it has been allocated using new?
Which is the best c++ compiler?
What is a c++ class?
What are the basics of local (auto) objects?
What do you mean by “this” pointer?