How do you make derived class as an abstract class?
Answer Posted / karthick s
We can make the derived class as an abstract,by inheriting
the class(base) which containing one pure virtual function.
After inheriting, we can't override it in derived class.
Then the derived class becomes abstract...
| Is This Answer Correct ? | 22 Yes | 4 No |
Post New Answer View All Answers
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
• What are the desirable attributes for memory managment?
How is polymorphism achieved?
how to get the oracle certification? send me the answer
What is polymorphism used for?
What are the benefits of interface?
why reinterpret cast is considered dangerous?
Why is oop better than procedural?
What is overriding in oop?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
What is encapsulation example?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
What are the three parts of a simple empty class?
Advantage and disadvantage of routing in telecom sector
How long to learn object oriented programming?