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

Its a overLoading .because overriding have two diff class
and return type also same

but overloading have one class,and it have same method name
and diff signature.

Is This Answer Correct ?    3 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What access modifiers can be used for methods?

826


What are the default and parameterized constructors?

796


What are functions in java?

713


What is boolean law?

724


What is the main difference between java platform and other platforms?

710


What is the use of parseint in java?

764


What does java stand for?

786


What are the important features of Java 9 release?

760


What are the different types of sorting in java?

739


Which package has light weight components?

773


How to change value in arraylist java?

751


What is string in java with example?

700


who can i handle multiple client in RMI

1660


What is static method with example?

868


What is mnemonic code?

770