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 the difference between overloading and overriding a
function?

Answer Posted / ghanshyam dobariya

OVERLOADING: Declaration and definition are in the same
class i.e. a class in which they are defined.

OVERRIDING:Declaration is done at super class while actual
definition is define in sub class.

OVERLOADING: Any code mistake we make in defining it's code
, detected at compile time

OVERRIDING: Any code mistake we make in defining it's code
,detected at run time.

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If A Class Is Declared Without Any Access Modifiers, Where May The Class Be Accessed?

1183


Is boolean a wrapper class in java?

1059


What is an immutable class?

1142


What is classname class in java?

1068


Which command from the jdk compiles a java program?

996


What are thread safe functions?

951


What are the basic concepts of OOPS in java?

1036


What is a copy constructor in java?

1127


What is the use of java?

961


What is the new line character?

1175


How we can execute any code even before main method?

1141


What is the difference between choice and list?

1091


What are parsing rules?

994


What is sleep method?

1153


What is data type in computer?

962