Difference between Overloading and Overriding?

Answer Posted / yesha

OVERLOADING MEANS WE CAN USE SAME FUNCTION NAME WITH DIFFERENT ARGUMENT IN FUNCTION OVERRIDING WE CAN ONLY USE SAME NAME OF THE FUNCTION AND SAME ARGUMENT BUT IN A DIFFERENT CLASS BECAUSE COMPILER WILL NOT CONFUSED

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is oop in c++?

593


What is the difference between the functions rand(), random(), srand() and randomize()?

723


What does obj stand for?

623


What is size of string in c++?

547


Are strings immutable in c++?

648






What is a storage class used in c++?

606


Describe about storage allocation and scope of global, extern, static, local and register variables?

723


Is swift faster than c++?

557


Write a Program for read a line from file from location N1 to N2 using command line arguments. Eg:exe 10 20 a.c

790


Write a program which uses Command Line Arguments

627


Why is null pointer used?

674


How important is c++?

526


Function can be overloaded based on the parameter which is a value or a reference. Explain if the statement is true.

641


What is java and c++?

656


Is c++ still being used?

557