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 constructor overloading in oop?
why reinterpret cast is considered dangerous?
how do you handle yourself when you feel the wald is aganist you
What is for loop and its syntax?
What do you mean by multiple inheritance and multilevel inheritance? Differentiate between them.
What is difference between polymorphism and inheritance?
what is the difference between containership and inheritence?
What are main features of oop?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What is inheritance in simple words?
How is class defined?
What are the 4 main oop principles?