ContactUs :

Please send your Questions & Answers or Feedback to "mohan@javabook.org"

Explain Overriding Polymorphism.

Overriding means changing behaviour of methods of base class in derive class by overriding the base class methods. If class A is a base class with method ’calculate’ and class B inherits class A, thus derives method ’calculate’ of class A. The behaviour of ’calculate’ in class B can be changed by overriding it.

Related Posts Plugin for WordPress, Blogger...
Flag Counter