Difference between over loading and over ridding?
Answer Posted / sri
overloading means when u define more than one function with
same name but different arguments and return type.it is
compiletime allocation
overriding means when we define more than one function with
same name,same arguments.it mainly used in inheritance
concept.it is runtime allocation
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What do you mean by Encapsulation?
What is interface in oop?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< What is oops and why we use oops? What is difference between inheritance and polymorphism? Why do we use class in oops? How is polymorphism achieved? What are the three parts of a simple empty class? class type to basic type conversion write a C++ program for booking using constructor and
destructor.
What is encapsulation and abstraction? How are they implemented in C++? write a programe to calculate the simple intrest and compund
intrest using by function overlading officer say me - i
am offered to a
smoking , then what
can you say What is oops and its features? Can private class be inherited?