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

There are 2 methods in a class. Both have the same method
signature except for return types. Is this overloading or
overriding or what is it?

Answer Posted / debapriya

Niether overloading nor ovverriding ,this question has errors

Overloading---->different method
signatures(order,type,number different)
Ovveriding signature same but subclass can implement this method


So ??????????????.

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are void pointers?

1293


Explain about join() method?

957


What is the unit of plancks constant?

1042


Does java support function overloading, pointers, structures, unions or linked lists?

1092


What is array in java?

996


What is an immutable object?

1091


What is a methodologist?

1059


Can we have any other return type than void for main method?

949


what is encapsulation in java? Explain

1102


What are namespaces in java?

1027


What is thread synchronization in java?

885


Are generics important java?

966


What is scope of a variable?

1086


Can we have two methods in a class with the same name?

1049


What is the difference between processes and threads?

1044