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 does I oop mean?
what are the different types of qualifier in java?
What is Iteration Hierarchy? What is what is Object behavioral concept?
What is multilevel inheritance in oop?
how many types of notations are in java
1 Answers National University of Modern Languages (NUML),
Write a program to find out the number of palindromes in a sentence.
what is virtual function?
26 Answers Aspire, HP, Infosys, RoboSoft, TCS,
what is the advantage in software? what is the difference between the software developer and Engineer
WHAT IS THE ACTUAL DEFINATION OF OBJECT AND THE CLASS IN ONE SINGLE LINE WHICH THE INTERVIEWER WANT TO LISTEN.
Why a "operator=(...)" when there is a copy ctor?
i had specified the access specifier for abstarct class member like (pure virtual function) as private.But it can be accessed by the derived class.How the private member of one class is accessed by other class.if any body face this problem and found the solution plz reply to me.
What is polymorphism and example?