Overload

I am a beginner, but I summarized it for personal study

Overload

-Overload is also called "multiple inheritance of methods" and is a function that can declare multiple methods with the same name. -** Cannot be used unless the name is the same and the arguments (number of arguments, type, order) are different ** -When reading a method to be executed, the JVM distinguishes by ** signature (method name and argument set) ** instead of judging only by the method, so multiple methods with the same name can be declared.

Recommended Posts

Overload
[Java] Overload
[Java] Overload and override