|NO.Z.00024|——————————|BigDataEnd|——|Java&方法封装.V06|——|Java.v06|重载的实际意义|
一、重载的实际意义
### --- 重载的实际意义
~~~ ——> 方法重载的实际意义在于调用者只需要记住一个方法名就可以调用各种不同的版本,
~~~ ——> 来实现各种不同的功能。
~~~ ——> 如:java.io.PrintStream类中的println方法。
Walter Savage Landor:strove with none,for none was worth my strife.Nature I loved and, next to Nature, Art:I warm'd both hands before the fire of life.It sinks, and I am ready to depart
——W.S.Landor
浙公网安备 33010602011771号