方法的Signature:
方法的Signature 是由方法的参数和返回值的类型共同的构成,下面的是他们的结构:
“(argument-types)return-type”
其中Java程序中的参数类型和其对应的值如下:
Signature java中的类型
Z boolean
B byte
C char
S short
I int
J long
F float
D double
L full-qualified-class full-qualified-class
[type type[]
(arg-types) ret-type , method type