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


Please Help Members By Posting Answers For Below Questions

What is polymorphism programming?

605


Can bst contain duplicates?

670


Give an example where we have to specifically use C programming language and C++ programming language cannot be used?

1147


What is overriding in oop?

550


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2106






What language is oop?

595


What are benefits of oop?

639


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?

1944


Can we define a class within the interface?

555


What is difference between abstraction and encapsulation?

594


What is abstraction in oops with example?

776


Why is oop better than procedural?

604


What do you mean by variable?

577


Why is encapsulation used?

577


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

1657