Java Polymorphism - Method Overloading vs Method Overriding

preview_player
Показать описание
Support Simple Snippets by Donations -
--------------------------------------------------------------------------------------------- In this video tutorial, we will understand Java Polymorphism.
In terms of Java Programming Polymorphism is the capability of a method to do different things based on the object that it is acting upon. In other words, polymorphism allows you define one interface and have multiple implementations.

There are 2 types of Polymorphism in Java -
Compile Time Polymorphism – Method Overloading (We have discussed this in detail in this article)
Run Time Polymorphism – Method Overriding

Simple Snippets Official Website -
Simple Snippets on Facebook -
Simple Snippets on Instagram -
Simple Snippets on Twitter -
Simple Snippets Google Plus Page -
Simple Snippets email ID -

Рекомендации по теме
Комментарии
Автор

Hey Guys, if you want more such tech educational videos on this channel then please support me by subscribing to this channel & also share it with your friends as it helps me create more content just for you ✌

SimpleSnippets
Автор

Aren't Generics also a type of compile time polymorphism?

Asdf-wmow