Answer Posted / dinesh
OVERLOADING:Two methods are having same name and different arguments in same class
OVERRIDING: Two methods are having same name and same arguments also same return types in its class and sub class (from 1.5 on words co-varient return types also allowed this is applicable for only for object types not primitives)i.e some relation either parent to child or child to parent
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is encapsulation in oop?
What is encapsulation selenium?
What is the renewal class?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
What are the three main types of variables?
What is pure oop?
What is this pointer in oop?
Write a program to reverse a string using recursive function?
c++ program to swap the objects of two different classes
Can bst contain duplicates?
What does and I oop mean?
Prepare me a program for the animation of train
to find out the minimum of two integer number of two different classes using friend function
What is an advantage of polymorphism?