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 are void pointers?
Explain about join() method?
What is the unit of plancks constant?
Does java support function overloading, pointers, structures, unions or linked lists?
What is array in java?
What is an immutable object?
What is a methodologist?
Can we have any other return type than void for main method?
what is encapsulation in java? Explain
What are namespaces in java?
What is thread synchronization in java?
Are generics important java?
What is scope of a variable?
Can we have two methods in a class with the same name?
What is the difference between processes and threads?