Polymorphyism
reema.choudhary
Created on January 15, 2021
More creations to inspire you
SOUTHAMPTON AN INTERNATIONAL CITY
Interactive Image
THE POETRY HIVE LOVES YOU!
Interactive Image
WHAT IS PRIDE?
Interactive Image
HOW TO BE AN LGBTQ+ ALLY
Interactive Image
THE LEGALIZATION OF GAY MARRIAGE IN THE US
Interactive Image
WHO WAS HARVEY MILK?
Interactive Image
THE SOFIVE STANDARD - COLUMBIA
Interactive Image
Transcript
It means taking many forms, ‘poly’ means many and ‘morph’ means forms. It is the ability of a variable, function or object to take on multiple forms. In other words, it allows you define one interface or method and have multiple implementations.
What is Overloading and Overriding?When two or more methods in the same class have the same name but different parameters, it’s called Overloading.When the method signature (name and parameters) are the same in the superclass and the child class, it’s called Overriding.