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 have multiple classes in single file ?

1024


Can a class have a static inner class?

1038


What do you understand by synchronization?

999


How will you load a specific locale?

936


What is static synchronization?

1047


What is singleton math?

1066


What is a line break?

981


What makes a function well defined?

947


What are methods and how are they defined?

1151


Why string is a class?

904


What are the different ways to handle exceptions?

949


how we can make a read-only class in java?

946


Can we declare a static variable inside a method?

966


What is the tradeoff between using an unordered array versus an ordered array?

1175


What is the latest java version?

1017