Overloading a method is what you have already learned: providing more than one method with the same name but with different signatures to distinguish them. 这里这个signature是什么意思??
Overloading Methods Each method has a signature, which is its name and the number and types of its parameters. Two methods can have the same name if they have different numbers or types of parameters and thus different signatures. This feature is called overloading because the simple name of the method has an overloaded (more than one) meaning. When you invoke a method, the compiler uses the number and types of arguments to find the best match from the available overloads. 自己看书吧. The Java Programming Language 其实看完书你就没有这么多问题了,自己都能解决的东西.
Each method has a signature, which is its name and the number and types of its parameters. Two methods can have the same name if they have different numbers or types of parameters and thus different signatures. This feature is called overloading because the simple name of the method has an overloaded (more than one) meaning. When you invoke a method, the compiler uses the number and types of arguments to find the best match from the available overloads. 自己看书吧.
The Java Programming Language
其实看完书你就没有这么多问题了,自己都能解决的东西.
一般不用在基本概念上 “问到底”,理解怎么用就行了,特别是计算机。