What is virtual class and friend class?
Answer Posted / kirti joshi
friend class is used to share private data between 2 or
more classes the function declared as freind are not called
using any object it is called like normal .the arguments to
such functions is normally object of a class.
virtual class is used for run time polymorphism when object
is linked to procedure call at run time
Is This Answer Correct ? | 53 Yes | 7 No |
Post New Answer View All Answers
Can a destructor be called directly?
What are functions in oop?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
What is encapsulation with real life example?
What is the significance of classes in oop?
What is interface? When and where is it used?
What is encapsulation selenium?
What is difference between data abstraction and encapsulation?
What is object and class in oops?
What are two types of polymorphism?
What are the benefits of polymorphism?
What is basic concept of oop?
What is overloading in oop?
Give two or more real cenario of virtual function and vertual object
Is html an oop?