Method overloading is a very common practice in Java, and I assume in many other programming languages too. The idea is that you have multiple methods with the same name, but takes different parameters. There are a couple of limitations to this such that the compiler can distinguish between the different methods, it needs to know which one to call after all. It are these caveats that intrigued me to write this blog post.

Read more of this post


This free site is ad-supported. Learn more
chrisvesters | November 21, 2021 at 9:00 am | Tags: Design, Java, Language Features, Object Oriented | Categories: Development | URL: https://wp.me/p6oy6N-1jp
Comment        Like