Is this an example of method overloading or overriding?

Method overloading is a example of compile time polymorphism . Whereas method overriding is a example of run time polymorphism. 3.


Leave a Reply

Your email address will not be published. Required fields are marked *