编程语言的一些通用概念
C/Cpp/Java中的函数签名(method signature)
C/Cpp/Java中的函数签名(method signature),包括method name and the parameter list, 即函数名和参数列表(参数个数、类型、顺序)。
注意不包括返回类型。Return types and thrown exceptions are not considered to be a part of the method signature.
例:
public void setMapReference(int xCoordinate, int yCoordinate)
{
//method code
}
的函数签名是: setMapReference(int, int)