Answer Posted / subhashish saha
When you try to assign derived class object to an object of
base class, it takes the elements that has relivance with
respect to the base class and slices off the remaining
thing. this is object slicing...
| Is This Answer Correct ? | 27 Yes | 1 No |
Post New Answer View All Answers
What is cohesion in oop?
What is class encapsulation?
Why is oop useful?
What is a function in oop?
What is interface? When and where is it used?
What is the difference between encapsulation and polymorphism?
What is encapsulation in ict?
Templates mean
What is object in oop with example?
What is oops and why we use oops?
What is overloading and its types?
What is inheritance write a program to show use of inheritance?
• What are the desirable attributes for memory managment?
What is super in oop?
What is byval and byref? What are differences between them?