更新时间:2023-01-18 09:02:19
在
public ClientWorker(Socket cwsocket){
super("ClientWorker");
cwsocket=cwsocket;
}
您需要做
this.cwsocket=cwsocket;
或重命名参数,以免隐藏相同名称的成员.
Or rename the parameter so it doesn't shadow the member of the same name.