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 / ashu_deepu

it is not overloading bcos different return types does not mean overloading.
n 4 overriding inheritance should b used between 2 classes.
so it is neither overriding nor overloading.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between applet and application?

1007


What are default methods ?

1036


What are the 5 types of research methods?

1137


What about main() method in java ?

1017


What are loops in java? What are three types of loops?

1030


What is finalize method?

1105


What is classname class in java?

1056


What is complexity and its types?

1026


What is difference between == equals () and compareto () method?

1041


What is scanner in java?

946


How do you declare a destructor in java?

991


If a class is declared without any access modifiers, where may the class be accessed in java programming?

1208


How do you sing an Applet ?

2457


What are the major advantages of internal iteration over external iteration?

1043


Differentiate between postfix and prefix operators in java.

1123