public class TT { public int a; public byte[] comm={0x7E,0x48,0x7d};
public int teset(){ a=FormTcpAndUnformTCP.formTcp(comm,3); return a ; } public static void main(String[] args) { // TODO Auto-generated method stub System.out.println(teset()); }
} ] 在a=FormTcpAndUnformTCP.formTcp(comm,3);和System.out.println(teset());报错:Cannot make a static reference to the non-static method formTcp(byte[], int) from the type FormTcpAndUnformTCP 愁死我了 怎么从根本上解决问题啊~~~