| Next Tip?
Home » OOPs

What is object slicing

8 August 2009 403 views No Comment
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 4.00 out of 5)
Loading ... Loading ...

When you try to assign derived class object to an object of base class, it takes the elements that has relevance with respect to the base class and slices off the remaining thing.

Popularity: unranked [?]

Related interview questions

Leave your response!

You must be logged in to post a comment.