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
What is polymorphism and types?
Get me a number puzzle game-program
What is oops concept with example?
write a programe to calculate the simple intrest and compund intrest using by function overlading
What are oops functions?
What are the 3 pillars of oop?
What is object in oop with example?
What is the main purpose of inheritance law?
Why polymorphism is used in oops?
What is the point of polymorphism?
What is an advantage of polymorphism?
Can we define a class within the interface?
How to improve object oriented design skills?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
What is difference between abstraction and encapsulation?