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?

Answers were Sorted based on User's Feedback



why overriding?..

Answer / ejaz

In two classes(having parent child/common interface
relation) methods with same signature and execution of
method decided at run time based on object type.

Is This Answer Correct ?    4 Yes 0 No

why overriding?..

Answer / 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

why overriding?..

Answer / kamal

same function name and same argument list

Is This Answer Correct ?    5 Yes 6 No

Post New Answer

More OOPS Interview Questions

what i oops concept, how many languages supports oops concept?

3 Answers   Value Labs,


what is the difference between class and object?

9 Answers  


what is the main difference between sizeof() operator in c and c++

3 Answers  


What is OOPS and How it is different from Procedural Programming ?

23 Answers   HP, Infosys, Thyrocare,


what is a class

6 Answers  


which is platform independent device used in computers

2 Answers  


What is difference between new and malloc?

7 Answers   emc2,


what is graphics

0 Answers  


What is object and class in oops?

0 Answers  


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

0 Answers  


We have a scale and 7 balls. 1 ball is heavier than all the rest. How to determine the heaviest ball with only 3 possible weighing attempts?

8 Answers   IBM, Sage, Vertex,


what is the difference between virtual function and destoctor?

1 Answers  


Categories