How would you stop a class from class from being derived or
inherited.
Answer Posted / mohit jethva
make class static then it will not derive
| Is This Answer Correct ? | 2 Yes | 8 No |
Post New Answer View All Answers
What is destructor give example?
What is class in oop with example?
What is difference between abstraction and encapsulation?
What is use of overloading?
What is abstraction in oops with example?
What is new keyword in oops?
Can enum be null?
Plese get me a perfect C++ program for railway/airway reservation with all details.
What is polymorphism oop?
What are functions in oop?
Why do we use encapsulation in oops?
What are the 3 principles of oop?
Get me an image implementation program.
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
What is the difference between static polymorphism and dynamic polymorphism?