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
Why is there no multiple inheritance?
What is the oops and benefits of oops programming?
What is basic concept of oop?
What is polymorphism in oop example?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
Can we create object of interface?
How do you answer polymorphism?
Why do we use encapsulation in oops?
c++ program to swap the objects of two different classes
What is object in oops?
What is abstraction in oop?
Which is not an object oriented programming language?
What is polymorphism explain?
What is the real time example of encapsulation?
Why it is called runtime polymorphism?