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
Define nashorn in java8.
I am a fresher and know core java, c languge, html, css etc if I am illegible for any job then send it on my email tatranakshay276@gmail.com
Why put method is used?
What is math floor in java?
How big is a gigabyte?
How does multithreading take place on a computer with a single cpu?
What do you mean by boolean?
What’s the difference between callable and runnable?
What are the different collection views provided by maps?
What is the major advantage of external iteration over internal iteration?
What are different types of expressions?
What is the collections api?
Define "Access specifiers" in java.
Why set do not allow duplicates in java?
Why can't we make a class private in java?