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
given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy
Why do we use class in oops?
What is oops and why we use oops?
How is polymorphism achieved?
What is polymorphism what are the different types of polymorphism?
What is oops concept with example?
i got a backdoor offer in process global,Bangalore..Can i work with it?
What are constructors in oop?
Explain the advantages of inheritance.
What is the difference between a mixin and inheritance?
Why oops is important?
What are the benefits of oop?
Is enum a class?
What is basic concept of oop?
What is static modifier?