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 object in oop?
What is oops and its features?
What are the 5 oop principles?
what is difference between class template and template class?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
What is the point of polymorphism?
What is the real time example of inheritance?
What is constructor in oop?
Is html an oop?
Why do we use class?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
What type of loop is a for loop?
which feature are not hold visual basic of oop?
Can bst contain duplicates?