Method overloading

A feature that allows a class to have more than one method having the same name, if their argument lists are different.

add(int, int)
add(int, int, int)

 

 

Igor Springer

I build web apps. From time to time I put my thoughts on paper. I hope that some of them will be valuable for you. To teach is to learn twice.

 

Leave a Reply

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