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 / debapriya
Niether overloading nor ovverriding ,this question has errors
Overloading---->different method
signatures(order,type,number different)
Ovveriding signature same but subclass can implement this method
So ??????????????.
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
What is gui programming?
What is the difference between ArrayList and Vector? which one is better in Java
Difference between keyword and identifier.
What is a method signature java?
What is java beans?
Why synchronization is important in java?
Implement a stack with push (), pop() and min() in O(1) time.
String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?
Is singleton a bad practice?
What is exception propagation?
When is the garbage collection used in Java?
how come we know the object is no more used in the class?
Define linked list and its features with signature?
Given a singly linked list, determine whether it contains a loop or not without using temporary space?
What happens to a static var that is defined within a method of a class?