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 are the ways in which a thread can enter the waiting state?
Is 0 true or false?
What is null statement?
What are the wrapped, classes?
Difference between static and dynamic class loading.
What is string in java? String is a data type?
which pattern is default in scanner package?
how to create multithreaded program? Explain different ways of using thread? : Java thread
Can I declare class as static or private?
hr interview how many minutes asking question
Is set ordered?
Why Java doesn’t support multiple inheritance?
What is double data type?
What is the public method modifier?
What is hashset in java?