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
Out of fgets() and gets() which function is safe to use?
Write a program in C++ for Fibonacci series
Differentiate between a constructor and a destructor in c++.
How can you say that a template is better than a base class?
How do you define a class in c++?
What is c++ code?
What is the main purpose of overloading operators?
Is c better than c++?
What is istream and ostream in c++?
How many ways can a variable be initialized into in C++?
Why c++ is better than c language?
Can we define function inside main in c++?
Is swift a good first language?
What is a local variable?
What is the identity function in c++? How is it useful?