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 / duke
Use virtual class concept
| Is This Answer Correct ? | 0 Yes | 6 No |
Post New Answer View All Answers
What is extern c++?
What is the difference between structures and unions?
What are multiple inheritances (virtual inheritance)? What are its advantages and disadvantages?
How do you generate a random number in c++?
What are pointer-to-members? Explain.
What is the oldest programming language?
Why is main function important?
Do you need a main function in c++?
When to use “const” reference arguments in a function?
Do the parentheses after the type name make a difference with new?
Is set c++?
What is size_type?
Perform addition, multiplication, subtraction of 2-D array using Operator Overloading.
What is the use of c++ programming language in real life?
Is java based off c++?