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
What access modifiers can be used for methods?
What are the default and parameterized constructors?
What are functions in java?
What is boolean law?
What is the main difference between java platform and other platforms?
What is the use of parseint in java?
What does java stand for?
What are the important features of Java 9 release?
What are the different types of sorting in java?
Which package has light weight components?
How to change value in arraylist java?
What is string in java with example?
who can i handle multiple client in RMI
What is static method with example?
What is mnemonic code?