C++ Programming - OOPS Concepts - Discussion
Discussion Forum : OOPS Concepts - General Questions (Q.No. 30)
30.
Which one of the following options is correct about the statement given below? The compiler checks the type of reference in the object and not the type of object.
Discussion:
20 comments Page 2 of 2.
Prakash pathiyam said:
9 years ago
Helpful explanations, Thanks.
Riyaz said:
9 years ago
What is mean by many forms?
Vasanta said:
10 years ago
What is polymorphism?
Keshav miglani said:
10 years ago
Wrapping means hiding and this concept used in encapsulation and abstraction but mostly this wrapping word used for encapsulation.
Karan khan said:
1 decade ago
What is wrapping?
Abhilasha said:
1 decade ago
If object is created run time by using base class pointer (allow to store address of any derived class)/reference and base class functions are virtual and overridden in derived class then base class pointer calls the function of derived class.
Roshu said:
1 decade ago
Why polymorphism?
Sadique rahman said:
1 decade ago
Object in polymorphism exist in many forms so it doesn't check the type of object while it will definitely check the type of reference in the object.
Shashikant said:
1 decade ago
i think is becoz runtime polymorphism if we not mention the virtual keyword in base class then type is checked and function in the base class gets called...
Christian said:
1 decade ago
Is this because the object formed by polymorphism can take many forms?
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers