Doesn't really seem to make sense to me. Maybe someone can help me understand. It seems kind of silly that I have to switch around the order of my parameters to have this feature.
Because Java allows to invoke a static method in a non-static manner, i.e. on an object of the class. So, if a class has static and non-static methods - method() of same signature, an invocation like this: obj.method() would be ambiguous.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With