difference between overloading and overridding

Answers were Sorted based on User's Feedback



difference between overloading and overridding..

Answer / priyanka agrawal

In overloading functions will have same name but different
parameters lists but in overloading functions must have
same name and same signature.

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More OOPS Interview Questions

what is ltti

1 Answers   Unisys,


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

0 Answers  


1.explicit call for destructor 2.calling function inside a constructor. 3.base *b-new derived delete b; 4.delete p what it will delete. 5.size of base class and derived class int i,in base class and int j in derived. 6.int i-20 int main() { int i =5; printf("%d".::i); { int i =10; printf("%d".::i); } } 7.object slicing 8.new 9.function overloading(return type). 10.class base() { virtuval fun() { ----- } } class derivied:public base() { fun() { ----- } } int main() { derived d; } 11.how static function will call in C++? 12.default structures are in C++? 13.constructors should be in public . 14.virtuval constructor not exist. 15.multilevel inhritence. destructor order.

1 Answers   Tech Mahindra,


What are the two different types of polymorphism?

0 Answers  


What makes a language oop?

0 Answers  


C#.net Interview Question A=10 B=5 C=A+B Print C The above will be given in a multiline textbox. You need to parse the above input, store values for A,B&c. And you have to display the value of C.

1 Answers   Syncfusion,


write a c++ code of diagonal matrix.

2 Answers  


What is encapsulation in oop?

0 Answers  


What is destructor give example?

0 Answers  


what is the use of mutable key word

3 Answers   HCL,


What are main features of oop?

0 Answers  


Why is encapsulation used?

0 Answers  


Categories