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 finalize() function in java?
Is java 11 paid version?
What is space character in java?
What is replaceall in java?
Why javac is not recognized?
Can you explain the cs option of java interpreter?
What are sets in java?
What is float in java?
What is the syntax and characteristics of a lambda expression?
Can an integer be a string?
Is integer a class?
What are functions in java?
Can we synchronize static methods in java?
What is ++ a in java?
Is arraylist a class in java?