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
What is oops in simple words?
What are main features of oop?
Whats is abstraction in oops?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
What is the importance of oop?
write a C++ program for booking using constructor and destructor.
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
What is balance factor?
What are the three parts of a simple empty class?
Can a varargs method be overloaded?
What does enum stand for?
What is inheritance write a program to show use of inheritance?
hi all..i want to know oops concepts clearly can any1 explain??
Why oops is important?
Why is there no multiple inheritance?