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 slicing

Answer Posted / subhashish saha

When you try to assign derived class object to an object of
base class, it takes the elements that has relivance with
respect to the base class and slices off the remaining
thing. this is object slicing...

Is This Answer Correct ?    27 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

2137


What is an advantage of polymorphism?

1082


What are two types of polymorphism?

1058


What is the real time example of encapsulation?

1048


What is multilevel inheritance?

1188


What is purpose of inheritance?

1088


What is the main purpose of inheritance law?

1184


What is inheritance in simple words?

1045


What is the problem with multiple inheritance?

1147


What is the types of inheritance?

1085


What are the 3 pillars of oop?

1168


What is the oops and benefits of oops programming?

964


What are the three main types of variables?

1111


What is constructor in oop?

1086


Can we create object of abstract class?

1070