What is object slicing
8 August 2009
403 views
No Comment
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
- What are the good practices to use while designing for reuse
- What is an object?
- How’s method overriding different from overloding?
- What is the meaning of data definition name (ddname) and dataset name (dsname) in the DD statement?
- How do you define an ALTINDX ? How do you use ALTINDXs in batch, CICS pgm’s ?



(1 votes, average: 4.00 out of 5)







Leave your response!
You must be logged in to post a comment.