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 overloading and overriding?

Answers were Sorted based on User's Feedback



what is overloading and overriding?..

Answer / nishanthi

Overriding - same method names with same arguments and same
return types associated in a class and its subclass.

Overloading - same method name with different arguments,
may or may not be same return type written in the same
class itself.

Is This Answer Correct ?    24 Yes 3 No

what is overloading and overriding?..

Answer / nishanthi

Overriding - same method names with same arguments and same
return types associated in a class and its subclass.

Overloading - same method name with different arguments,
may or may not be same return type written in the same
class itself.

Is This Answer Correct ?    17 Yes 4 No

what is overloading and overriding?..

Answer / pranita panchakshare

Overriding - same method names with same arguments and same
return types associated in a class and its subclass.

Overloading - same method name with different arguments,
may or may not be same return type written in the same
class itself.
i aggry with this answer

Is This Answer Correct ?    5 Yes 2 No

what is overloading and overriding?..

Answer / rupkkkkk

Overriding:- Both the methods are same with same arguments
and same return type with in its class and its subclass.


Overloading:- Both has same method but with different
arguments may or may not be same return type written in the
same class itself.

Is This Answer Correct ?    1 Yes 1 No

what is overloading and overriding?..

Answer / dinesh

OVERLOADING:Two methods are having same name and different arguments in same class
OVERRIDING: Two methods are having same name and same arguments also same return types in its class and sub class (from 1.5 on words co-varient return types also allowed this is applicable for only for object types not primitives)i.e some relation either parent to child or child to parent

Is This Answer Correct ?    1 Yes 1 No

what is overloading and overriding?..

Answer / mostafa zedan

Overriding - same method names with same arguments and same
return types associated in a class and its subclass.

Overloading - same method name with different arguments,
may or may not be same return type written in the same
class itself.

Is This Answer Correct ?    0 Yes 1 No

what is overloading and overriding?..

Answer / m.manirathinam

function overloading means function name same but different
parrameter

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More OOPS Interview Questions

how to write a java program for an output ****0 ***01 **012 *0123 01234

1 Answers  


What is DeadlyDiamondDeathProblem ?

1 Answers  


write a c++ program to find maximum of two numbers using inline functions.

3 Answers   IBM,


how much classes are used in c++

5 Answers  


Why do we use class in oops?

0 Answers  


How do you answer polymorphism?

0 Answers  


What is static modifier?

0 Answers  


what are the uses of C++

1 Answers  


How does polymorphism work?

0 Answers  


Round up a Decimal number in c++.. example Note = 3.5 is as 4 3.3 is as 3

3 Answers   Accenture, Cognizant, IBM,


What is stream in oop?

0 Answers  


What type of Job you are providing?

0 Answers  


Categories