In which cases you use override and new base?
Answers were Sorted based on User's Feedback
Answer / naveen goud
It is used to ovveride superclass method.Suppose in super
calss we had a method getEmployee() in the subclass am
overriding it and am giving the new implementation.Means am
just giving new implementation instead of using the same
implementation.
| Is This Answer Correct ? | 0 Yes | 0 No |
create a c++ program that will accepts 9 inputs using 3 by 3 array.
Why is polymorphism used?
What is difference between multiple inheritance and multilevel inheritance?
What is function overloading and operator overloading?
What do you mean by multiple inheritance and multilevel inheritance? Differentiate between them.
design class for linked list and include constructor,destructor,insert option. node of form struct node { int data; struct node &ptr; }
what is oops
Differences between inline functions and non-inline functions?
Can main method override?
write knight tour problem which is present in datastructure
What is difference between function overloading and overriding?
There are 2 empty jars of 5 and 3 liters capacity. And a river is flowing besides. I want to measure 4 liters of wanter using these 2 jars. How do you do this?