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

Difference between overloading and overridding?

Answer Posted / ravikiran

compile time polymorhism is named as overloading,and takes
place in the same class.Should have same method name but
must have different argument list.
Runtime polymorphism is named as overriding,and takes place
in diferent classes.Must have the same signature and
argument list including the order defined in the super
class.

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we cast any other type to boolean type with type casting?

893


How many bits is a string in java?

965


What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?

1074


What is the equal sign?

1029


What is the difference between yielding and sleeping?

1030


Is logger a singleton?

894


State one difference between a template class and class template.

1022


What is maximum size of arraylist in java?

957


What is java english?

910


What are the approaches that you will follow for making a program very efficient?

1008


What is difference between filereader and bufferedreader?

898


Why we use protected in java?

932


Can we define private and protected modifiers for variables in interfaces?

1020


What is a super method?

924


What is the default size of arraylist in java?

1010