Answer Posted / 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 |
Post New Answer View All Answers
What is difference between inheritance and polymorphism?
When not to use object oriented programming?
What are the 4 pillars of oop?
What is the difference between a constructor and a destructor?
What are the 3 pillars of oop?
Can main method override?
Why is polymorphism needed?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
What are the 4 main oop principles?
What are the 3 principles of oop?
What is class and example?
Which is better struts or spring?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
Why oops is important?