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 gui programming?

1048


What is the difference between ArrayList and Vector? which one is better in Java

1155


Difference between keyword and identifier.

1048


What is a method signature java?

1060


What is java beans?

1015


Why synchronization is important in java?

1050


Implement a stack with push (), pop() and min() in O(1) time.

1122


String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?

983


Is singleton a bad practice?

1064


What is exception propagation?

1143


When is the garbage collection used in Java?

1208


how come we know the object is no more used in the class?

6484


Define linked list and its features with signature?

1007


Given a singly linked list, determine whether it contains a loop or not without using temporary space?

995


What happens to a static var that is defined within a method of a class?

1035