签名指的是返回值和参数。
比如 :
public void A ( int p1,int p2){} public void B ( int q1,int q2){}的签名相同。
而public int C (int m1,int m2){}
则和方法A签名不同,因为C的返回值为int