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 nextline method in java?
What is double checked locking in singleton?
What are the disadvantages of using inner classes?
Explain about oops concepts.
How do you add spaces in java?
What is wrapper class html?
What is intern method in java?
What is ellipsis in java?
What is immutable data?
What programs use java?
What is the purpose of the wait(), notify(), and notifyall() methods in java programming?
How we can generate random numbers in java?
Explain about procedural programming language or structured programming language and its features?
What are aggregate functions explain with examples?
Why do we use regex?