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 null data type?
What is a method type?
Difference between overriding and overloading in java?
Is java map thread safe?
What is considered an anti pattern?
what do you mean by classloader in java?
What is a layout manager and what are different types of layout managers available in java awt?
Is java a super set of javascript?
What are the five major types of reference sources?
What is the purpose of abstract class?
Explain what access modifiers can be used for variables?
How many bytes is a string?
What is fundamental datatype?
Print Vertical traversal of a Binary Tree.
What is static and final keyword in java?