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
#include
Why it is called runtime polymorphism?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
What polymorphism means?
What is the difference between procedural programming and oops?
what is different between oops and c++
What are different oops concepts?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
What is inheritance and how many types of inheritance?
What is a function in oop?
What is static in oop?
Where is pseudocode used?
officer say me - i am offered to a smoking , then what can you say
Please send ford technologies placement paper 2 my mail id
What are the two different types of polymorphism?