what is overloading and overriding?

Answer Posted / rupkkkkk

Overriding:- Both the methods are same with same arguments
and same return type with in its class and its subclass.


Overloading:- Both has same method but with different
arguments may or may not be same return type written in the
same class itself.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is oop better than procedural?

798


How do you achieve runtime polymorphism?

736


What are the types of abstraction?

760


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

1858


What is oops and its features?

819


Which language is pure oop?

744


What is the difference between inheritance and polymorphism?

783


write knight tour problem which is present in datastructure

2365


What are objects in oop?

818


What is encapsulation in ict?

801


What is class encapsulation?

812


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2297


What is the importance of oop?

826


Why multiple inheritance is not possible?

784


What is persistence in oop?

850