DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

OOP Concepts for Beginners: What is Polymorphism

3 years ago stackify.com
OOP Concepts for Beginners: What is Polymorphism

Summary: This is a summary of an article originally published by Stackify. Read the full original article here →

Object-Oriented Programming has different concepts allowing developers to build logical code. Polymorphism is one of the https://stackify.com/oops-concepts-in-java/ and describes situations in which something occurs in several different forms. In computer science, it describes the concept that you can access objects of different types through the same interface.

As described in our post about https://stackify.com/oop-concept-inheritance/, all Java classes extend the class Object.

For example, one method accepts a String and a Long and another one accepts a Long and a String.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com