what is object slice?

Answer Posted / rajashekar reddy peta

Object slicing is defined as the conversion of an object into something with less information (typically a superclass).

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a parent class in java?

537


What is the difference between iterator and enumeration ?

510


If a variable is declared as private, where may the variable be accessed?

546


Define immutable object?

575


Can we instantiate interface in java?

666






Difference between Preemptive scheduling vs. Time slicing?

565


What is advantage of java?

536


What type of variable is gender?

540


What is class forname?

540


What is jit compiler in java?

575


What is boolean false?

516


Similarity and difference between static block and static method ?

530


Explain the difference between the public, private, final, protected, and default modifiers?

549


Is space a char?

524


Why is String immutable?

612