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
How do you define a parameter?
What is a jagged array in java?
What is prefix of a string?
Why for each loop is used?
What is reflexive association?
How can we make copy of a java object?
What is polymorphism and what are the types of it?
What do you mean by synchronized non access modifier?
What is classname class in java?
What is the difference between length and length () in java?
What does system out println () do?
What are filterstreams?
Why scanner is used in java?
What does I ++ mean?
What does the @override annotation do?