Method Overriding- Runtime Polymorphism l Android Development Course For Beginners l Class-19



Method Overriding- Runtime Polymorphism l Android Development Course For Beginners l Class-19

Method Overriding- Runtime Polymorphism  l  Android Development Course For Beginners l  Class-19

Hello Listeners Today in this tutorial I will discuss about Method Overriding- Runtime Polymorphism in Java

Polymorphism in Java

There are two types of polymorphism in Java
compile-time polymorphism and
runtime polymorphism.

We can perform polymorphism in Java by method overloading and method overriding.

Method overriding is one of the ways in which Java supports Runtime Polymorphism.
Dynamic method dispatch is the mechanism by which a call for an overridden method is
resolved at run time, rather than compile time.

In this process, an overridden method is called through the reference variable of a
superclass. The determination of the method to be called is based on the object being
referred to by the reference variable

This tutorial takes from MSB Academy. This Tutorial is presented by Nasim Haider Quoraishi.
This is the First tutorial about Android Development. This Tutorial will Come one after one.
Total package I will try to present to you From beginner to expert level.
My Facebook link:
https://www.facebook.com/palaka.hosena