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
Tell us something about different types of casting?
Can we write method inside a method in java?
What is meant by class?
When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?
Can a lock be acquired on a class in java programming?
How can you traverse a linked list in java?
Does java isempty check for null?
What is the difference between delete and delete[]
What is unicode datatype?
How do you sort an array in java?
What is core java used for?
What is the difference between static and non-static variables in java programming?
Name few "optional" classes introduced with java 8 ?
What is a local block?
Name container classes in java programming?