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 is null data type?

1102


What is a method type?

1007


Difference between overriding and overloading in java?

1072


Is java map thread safe?

966


What is considered an anti pattern?

932


what do you mean by classloader in java?

1026


What is a layout manager and what are different types of layout managers available in java awt?

1246


Is java a super set of javascript?

1105


What are the five major types of reference sources?

1133


What is the purpose of abstract class?

1017


Explain what access modifiers can be used for variables?

1060


How many bytes is a string?

1135


What is fundamental datatype?

999


Print Vertical traversal of a Binary Tree.

1017


What is static and final keyword in java?

1025