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
Can user-defined object be declared as static data member of another class?
What is namespace std; and what is consists of?
What are the operators in c++?
write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;
Explain the difference between struct and class in terms of access modifier.
Declare a class vehicle and make it an abstract data type.
write a c++ program to create class student having datamember name,Roll_no,age,and branch intilcization all the member using constructor print the all the details on the screen.
How do I run a program in notepad ++?
What is searching? Explain linear and binary search.
what is C++ exceptional handling?
What are multiple inheritances (virtual inheritance)?
How do I use turbo c++?
Difference between overloaded functions and overridden functions
What do you mean by stack unwinding in c++?
Is dev c++ free?