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
Why do we use oop?
any one please tell me the purpose of operator overloading
What is multilevel inheritance?
What is the main feature of oop?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
What is polymorphism used for?
What is the important feature of inheritance?
Why oops is important?
2. Give the different notations for the class.\
• What are the desirable attributes for memory managment?
Can bst contain duplicates?
What is a null tree?
Can we define a class within the interface?
Why is static class not inherited?
How do you define a class in oop?