Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is object slice?

Answers were Sorted based on User's Feedback



what is object slice?..

Answer / 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

what is object slice?..

Answer / 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

More Core Java Interview Questions

How can constructor chaining be done using this keyword?

1 Answers  


What things should be kept in mind while creating your own exceptions in java?

0 Answers  


What are the legal parameters?

0 Answers  


What is java literals?

0 Answers  


Why do we need to override equals() and hascode() method of object class?

1 Answers   Cognizant,


How to print nodes of a Binary tree?

0 Answers  


Can a class be subclass of itself?

4 Answers  


Is void a data type?

0 Answers  


What is number data type?

0 Answers  


What is default constructors?

0 Answers  


Hi ,i convert contrller as jSp And presentation as servlet ...will it do? if so what are advantage and idsadvantages

2 Answers   IBM,


Why object class is super class for every class in java?

0 Answers  


Categories