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
What is polymorphism programming?
Can bst contain duplicates?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
What is overriding in oop?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What language is oop?
What are benefits of oop?
String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?
Can we define a class within the interface?
What is difference between abstraction and encapsulation?
What is abstraction in oops with example?
Why is oop better than procedural?
What do you mean by variable?
Why is encapsulation used?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?