Answer Posted / madhu
A pure virtual function tells the compiler that only
declaration is done here and it guarantees that function
definition will be done in the immediate class where object
is created.
It tells the user what it intended to do and without giving
complete details. And the pure virtual function will not
allow the user to create object and leads to abstract class.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What exactly is polymorphism?
Why do we use encapsulation in oops?
What is the point of oop?
Prepare me a program for the animation of train
Give two or more real cenario of virtual function and vertual object
What is stream in oop?
What are the benefits of oop?
What is abstraction oop?
Why do we use oop?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
What is oops in simple words?
How do you use inheritance in unity?
What is data binding in oops?
What are main features of oop?
What is polymorphism what are the different types of polymorphism?