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 |
C#.net Interview Question A=10 B=5 C=A+B Print C The above will be given in a multiline textbox. You need to parse the above input, store values for A,B&c. And you have to display the value of C.
How oops is better than procedural?
Why do we use polymorphism in oops?
Program to read a comment string
create a c++ program that will ask 10 numbers and display their sum using array.
Why static functions always uses static variables?
Iam doing my project on instant messaging , if you any new ideas regarding this project ,please suggest it?
Can main method override?
what is the difference between containership and inheritence?
Tell me the scenario,Where we can use interfaces or Abstract class.And What is the difference between interfaces and abstract class?
what are three tenets of object orinted Systems?Why they call like that ? Please answer me. Advance thanks.
can you explain how to use JavaBean in Project