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 |
What is the types of inheritance?
what is an qt4 interface?
write knight tour problem which is present in datastructure
What is friend function?
What is difference between multiple inheritance and multilevel inheritance?
difference between structure and union.
What is polymorphism and types?
what is the difference between class and object?
what is object slicing
Why interface is used?
difference between static and non-static variables?
c++ is a pure object oriented programming or not?