mydevnotes.hashnode.devSame named methods in Java.As we learned in Part 1 of this series, Don’t Underestimate Overloading, overloading is about guessing. The compiler is trying to guess which method to execute, based on the types of parameters you pass. Generics add another layer of guessing called ...Oct 6, 2025·11 min read
mydevnotes.hashnode.devSame named methods in Java.Recently I posted a poll on LinkedIn about method selection in overloaded method calls and was rather surprised that only 20% of the answers were correct. That gave me a push to do this write-up, as I feel that same-named methods do not get the credi...Sep 8, 2025·10 min read