What is object slicing in C++ or Java?
Answers
Answered by
0
What is meant by object slicing in C++ or Java?when should we use it: Follow Answer ... Object slicing is used to describe the situation when you assign an object of a derived class to an instance of a base class. This causes a loss of methods and member variables for the derived class object
Similar questions
English,
6 months ago
Environmental Sciences,
6 months ago
English,
6 months ago
Math,
1 year ago
History,
1 year ago