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...

why overriding?

Answer Posted / vic

To elaborate on Ejaz's answer, the run time determination
will only happen if the functions being called were declared
as being virtual.

If they weren't, then the function to be called will be
determined at compile time according to the object type.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which type does string inherit from?

1112


State what is encapsulation and friend function?

1277


What does it mean when someone says I oop?

1069


What is pointer in oop?

1063


What is multilevel inheritance explain with example?

1159


What language is oop?

1024


officer say me - i am offered to a smoking , then what can you say

2105


What is abstraction in oops with example?

1301


What is abstract class in oop?

1018


What is the difference between encapsulation and polymorphism?

1121


What is advantage of inheritance?

1178


Where is pseudocode used?

1118


What is an example of genetic polymorphism?

1189


What is basic concept of oop?

1177


What is abstraction in oop with example?

1141