Answer Posted / nishanthi
Overriding - same method names with same arguments and same
return types associated in a class and its subclass.
Overloading - same method name with different arguments,
may or may not be same return type written in the same
class itself.
| Is This Answer Correct ? | 24 Yes | 3 No |
Post New Answer View All Answers
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
What does <> mean pseudocode?
What is a class oop?
Which type does string inherit from?
what is difference between class template and template class?
Why do we use polymorphism?
What is polymorphism give a real life example?
what are the different types of qualifier in java?
What is the difference between a mixin and inheritance?
What is inheritance in oop?
What is abstraction in oops with example?
Why is object oriented programming so hard?
How do you define a class in oop?
What is purpose of inheritance?
Why we use classes in oop?