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 arrays fill in java?

1060


What is a buffer in java?

1069


Write a method to check if input string is palindrome?

1065


What is compareto?

1105


What happens if we don’t override run method ?

1064


Can we have any code between try and finally blocks?

1073


Program to Find the second largest element in an array.

1262


Explain the difference between comparator and comparable in java?

1027


What is method overloading in java ?

1159


What do you understand by the term wrapper classes?

1052


Difference between serialization and deserialization in java?

1211


Why synchronization is important in java?

1084


What is the use of parseint in java?

1086


What is ascii code?

1373


What is return code?

1059