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

What are inline functions? What is the syntax for defining an inline function?

577


Explain the difference between struct and class in terms of access modifier.

691


How many types of modularization are there in c++?

562


What are the comments in c++?

568


Can a list of string be stored within a two dimensional array?

571






Explain terminate() function?

587


What are virtual functions in c++?

681


Does c++ cost money?

578


List the issue that the auto_ptr object handles?

607


When do we run a shell in the unix system?

558


What flag means?

522


What is the cout in c++?

549


Can c++ do everything c can?

595


Differentiate between the message and method in c++?

604


Specify different types of decision control statements?

352