In this video we discuss “Polymorphism in Java”. All Object-Oriented Programming (OOP) languages are required to exhibit four basic characteristics: abstraction, encapsulation, inheritance, and polymorphism. Polymorphism in Java is the ability of an object to take many forms. To simply put, polymorphism in java allows us to perform the same action in many different ways. Any Java object that can pass more than one IS-A test is considered to be polymorphic and in java, all the java objects are polymorphic as it has passed the IS-A test for their own type and for the class Object. There are two types of polymorphism in java: compile-time polymorphism and runtime polymorphism.
In today’s video also talks about two types of polymorphism in Java: compile-time polymorphism and runtime polymorphism, java polymorphism examples, method overloading, method overriding, why to use polymorphism in java and many more.

  • 00:00:00 Introduction
  • 00:01:34 Agenda
  • 00:03:06 What is Polymorphism?
  • 00:05:18 Examples of Polymorphism
  • 00:08:05 Types of Polymorphism
  • 00:25:03 Practical Implementation
  • 00:33:23 Advantages
  • 00:34:24 Characteristics

#java #oop #polymorphism

Polymorphism in Java | Object Oriented Programming (OOP) | Types of Polymorphism
2.50 GEEK