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

Where is pseudocode used?

1163


Why do we use oops?

1071


when to use 'mutable' keyword and when to use 'const cast' in c++

2218


How is polymorphism achieved?

1109


Why is oop better than procedural?

1135


How oops is better than procedural?

1146


can inline function declare in private part of class?

4495


What is inheritance write a program to show use of inheritance?

1201


what type of question are asked in thoughtworks pair programming round ?

2267


What is a null tree?

1192


write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.

2343


is there any choice in opting subjects like 4 out of 7

2239


What is a class in oop?

1193


What is balance factor?

1131


Why multiple inheritance is not possible?

1117