Diffrernce Between Overloading and Overriding?
Answer Posted / sourisengupta
OverLoading :- Method Name remains the same with different
signatures.
For ex:- Take a method name vehicle.
if u are passing two parameters to it , it will generate
informations for 2 wheelers .
if u are passing four parameters to it, it will generate
informations for 4 wheelers.
shortly we can tell same with different characteristics.
Overriding : - Method name and signatures must be same.
In overriding user can change the behaviour of the method
for the derived class.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
totoo po ba ang manga aliens!
What are the different types of stl containers?
What is a standard template library (stl)? What are the various types of stl containers?
How connect plc and pc through software
What are the components of stl?
What is stl in c++ with example?
How does an stl file work?
What are stl algorithms?
Is there any error below, its a code to delete all entires from a map #include
What is the use of stl?
what is template and type convertion
Is stl part of c++ standard?
What is a stl vector?
Who wrote stl?
i wanted to know about questions about c,c++ , which is required for placements.... im a fresher