What is virtual class and friend class?
Answer Posted / govind
A virtual class is an inner class that can be overridden by
derived classes of the outer class.buti in this virtual
class cant access the privat member data and funtion .
A friend class is can access the privat member data and
function .
Is This Answer Correct ? | 14 Yes | 3 No |
Post New Answer View All Answers
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
What is overloading and its types?
What does it mean when someone says I oop?
What do you mean by variable?
What is the main feature of oop?
Why it is called runtime polymorphism?
What is pointer in oop?
What does no cap mean?
What is an interface in oop?
What is debug class?what is trace class? What differences are between them? With examples.
What does enum stand for?
What are main features of oop?
any one please tell me the purpose of operator overloading
What is this pointer in oop?
What are the benefits of interface?