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 empty string literal in java?

565


What are the two ways of implementing multi-threading in java?

818


Can we create an object if a class doesn't have any constructor ( not even the default provided by constructor ) ?

558


What is an i/o filter?

569


How is hashcode calculated in java?

506






What are wrapper classes in java?

600


Can an interface extend a class?

540


Make a data structure and implement an algorithm to print all the files in a directory. (The root directory can have sub-directories too.)

857


Explain an algorithm to find depth of a binary tree.

552


What is a JAR file?

597


How many bits is a 64 bit byte?

537


What are memory tables?

612


Write a program to print all permutations of string?

680


What is a nested structure?

540


What is the purpose of the system class in java?

556