Difference between over loading and over ridding?

Answer Posted / azhar iqbal

overloading means when you define more than one function
with the same name but different with its signature.


over ridding means give the modified defination of the
inherited functions or methods.

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.

2240


write string class as your own class in java without using any built-in function

2236


What is constructor in oop?

837


What are properties in oop?

827


What does and I oop and sksksk mean?

892


What is the problem with multiple inheritance?

855


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1640


What is an example of genetic polymorphism?

897


• What are the desirable attributes for memory managment?

1975


How do you achieve polymorphism?

843


What is interface in oop?

890


Are polymorphisms mutations?

917


What is the diamond problem in inheritance?

842


What is multilevel inheritance?

978


What is overriding in oop?

815