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
What is difference between calling start() and run() method of thread?
What is widening and narrowing in java? Discuss with an example.
What is the difference between iterator and list iterator?
How we can make copy of a java object?
Is binary a low level language?
State differences between C and Java?
Can I use % with real numbers?
Write a program to print the pattern given below
How would you format a date in java? I.e. In the ddmmyyy format?
Is list thread safe in java?
What does += mean in java?
What is the finalize method do?
Explain thread in java?
How static variable work in java?
Does list maintain insertion order java?