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 abstract methods in java?
What is the difference between Grid and Gridbaglayout?
Can singleton class be serialized?
What do you understand by copy constructor in java?
What is remote method invocation (rmi)?
How do you implement polymorphism in our day to day life?
How many static init can you have?
Why do we need array in java?
Can we have return statement in finally clause? What will happen?
Where are the card layouts used?
What is the use of :: in java?
What is the difference between && and & in java?
What do negative exponents mean?
What is the purpose of assert keyword used in jdk1.4.x?
What occurs when an object is constructed?