方法重载

方法重载的几种方式:

  1.方法名相同,参数个数不同

  2.方法名相同,参数类型不同

  3.方法名相同,参数顺序不同

原文地址:https://www.cnblogs.com/sunzhongyu008/p/11331829.html