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
How list contains works in java?
What is the difference between keyword and identifier?
Can we rethrow the same exception from catch handler?
Is there any difference between nested classes and inner classes?
Explain the scope or life time of class variables or static variables?
How does class forname work in java?
What is string subsequence method?
Is .net better than java?
What is the difference between integer parseint and integer valueof?
What is an image buffer?
Why should we use singleton pattern instead of static class?
How do you achieve polymorphism in java?
What is difference between identifier and variable?
What are the two ways of implementing multi-threading in java?
Explain the selection sort algorithm and state its time complexity?