#25 Day

 This is the twenty fifth hour of the challenge 

I hope you are doing well. Today I learned about the concept of polymorphism which consists of two types 

Method overloading : a method that is like the method in the parent class but takes more arguments 

Let's say that a method in the parent class calculates the sum of two integers with the method overloading you can make it calculate the sum of three or any amount of integers

Method overriding: a method that is like the method in the parent class but have a slightly different instructions

That's it for today thanks for reading 

تعليقات