Answer Posted / vivek
When a derived class object is assigned to a base class,
only the base class's part of content in the derived object
are copied to the base class, leaving behind the derived
class specific contents. This is referred as Object Slicing.
Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
Why is string buffer better than string ?
What is a parameter in java?
What are the three parts of a lambda expression?
How do you write methodology?
What are advantages of exception handling in java?
Can we use String with switch case?
What is the integer of 16?
Differentiate between nested and inner class in java.
What is boolean data type in java?
What about interthread communication and how it takes place in java?
Why can we not override static method?
Why do we create public static method in java?
What is meant by tab pans?
What is string data?
What is array class in java?