Difference between over loading and over ridding?
Answers were Sorted based on User's Feedback
Answer / vasanth
Method Overloading is the method name looks similar but
return type and method arguement (inside parameter) differs.
Method Overiding is that the method name, arguements and
return type seems similar on both base and derived class.
(Sometimes we will add the additional code to the derived
class method also).
| Is This Answer Correct ? | 1 Yes | 3 No |
What is virtual destructor? Why?
3 Answers Agile Software, College School Exams Tests, CSC,
Which keyword is written to use a variable declared in one class in the other class?
Can you inherit a private class?
What is encapsulation and abstraction? How are they implemented in C++?
0 Answers Agilent, ZS Associates,
What is the difference between and interface and an abstract class ?
4 Answers IBM, Infosys, Ness Technologies,
What is the difference between pass by reference and pass by value?
WHAT'S THE OOPS BASIC OOPS CONCEPTS IN DOTNET
Can bst contain duplicates?
Which language is not a true object oriented programming language?
When is an object created and what is its lifetime?
Given two strings like x=?hello? and y=?open?, remove any character from string x which is also used in string y, thus making the result x=?hll?.
what is runtime polymorphism? For the 5 marks.