what is object slicing?

Answer Posted / soumya_830312

When an base class is assinged to its derived class the
base class takes up only the base member data leaving the
data members of derived class.this is called...

Is This Answer Correct ?    71 Yes 49 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to call a non virtual function in the derived class by using base class pointer

5282


What is polymorphism and types?

607


What is abstraction oop?

627


What is an example of genetic polymorphism?

653


Why do we use polymorphism in oops?

585






What is difference between multiple inheritance and multilevel inheritance?

606


What is destructor oops?

625


How can you overcome the diamond problem in inheritance?

772


What is meant by multiple inheritance?

742


What type of loop is a for loop?

686


What is class encapsulation?

606


What are the important components of cohesion?

557


What is the full form of oops?

619


Why is polymorphism important in oop?

637


What is the difference between static polymorphism and dynamic polymorphism?

587