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
Why we use multi threading instead of multiprocessing?
How can we make copy of a java object?
Difference between start() and run() method of thread class?
23. Storage space in java is of the form Stack Queue Heap List 24. What is java code embedded in a web page known as Applets Servlets scriptlets snippets 25. Which of the following attributes are compulsory with an
What are predicates in java 8?
If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?
What is the benefit of inner classes in java?
How does hashmap work in java ?
What is string in java with example?
What are class types in java?
What are strings in physics?
What is the exact difference in between Unicast and Multicast object? Where will it be used?
What is the collections api in java programming?
Which is bigger double or float?
What is queue in java?