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 advantages of compiled language?
Are private methods final?
Which method cannot be overridden in java?
What is the file extension for java?
Describe different states of a thread.
What is the program compilation process?
What are the ways to instantiate the class class?
How do you convert int to char in java?
What is the purpose of final keyword and when to use it?
What is difference between hashset and hashmap?
How many bits is size_t?
In how many ways we can create threads in java?
What is collection class in java?
Are registers volatile?
What is a stack class in java ?