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?

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


Please Help Members By Posting Answers For Below Questions

What is difference between calling start() and run() method of thread?

1127


What is widening and narrowing in java? Discuss with an example.

1037


What is the difference between iterator and list iterator?

1030


How we can make copy of a java object?

1100


Is binary a low level language?

916


State differences between C and Java?

1202


Can I use % with real numbers?

1017


Write a program to print the pattern given below

932


How would you format a date in java? I.e. In the ddmmyyy format?

1375


Is list thread safe in java?

921


What does += mean in java?

1072


What is the finalize method do?

1097


Explain thread in java?

1163


How static variable work in java?

1121


Does list maintain insertion order java?

911