Archive for what is method overriding?

You are browsing the archives of what is method overriding?.

Object Oriented Programming Language- basic concepts

There are four main pillars of an Object Oriented Programming Language :
• Inheritance:
Inheritance provide the facility to drive one class by another using simple syntax. You can say that it is a process of creating new class and use the behavior of the existing class by extending them for reuse the existing code and adding the [...]

Difference between overloading and overriding?

Answer:
1. Overload - two functions that appear in the same scope are overloaded if they have the same name but have different parameter list.
2. main( ) cannot be overloaded.
3. notational convenience - compiler invokes the functions that is the best match on the args – found by finding the best match between the [...]

Close