Difference between Overloading and Overriding?

Answer Posted / meenu kathuria

overloading: same name but different signatures in same class
overriding: same name and same signature defined in
different class.

Is This Answer Correct ?    103 Yes 34 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When should I use unitbuf flag?

795


What is the identity function in c++? How is it useful?

794


What does std :: flush do?

885


What is the use of string in c++?

758


What does n mean in c++?

847


When can I use a forward declaration?

822


Is java as fast as c++?

807


Why do we need function?

798


If we want that any wildcard characters in the command line arguments should be appropriately expanded, are we required to make any special provision? If yes, which?

1261


By using c++ with an example describe linked list?

805


What is the use of endl in c++ give an example?

877


What is endl c++?

863


What is function prototyping? What are its advantages?

822


What is the most powerful coding language?

822


What's the order in which the objects in an array are destructed?

1154