题目内容

类IntelligentSecurity中有两句语句:TCPClient tcpClient=new TCPClient("REQUEST");tcpClient.start();这两句是为了启动( )。

查看答案
更多问题

运行程序,并分析类TCPServer中的语句case "DO0OPEN": {DO0 do0=new DO0();do0.openDO0();break;}是为了()。

语句byte[] data=new byte[1024];创建了一个数据流。

A. 对
B. 错

“int len=in.read(data);”语句的功能是读取来自客户端的数据的长度。

A. 对
B. 错

“String string=new String(data,0,len);” 语句的功能是根据读取的客户端的数据长度从输入流中取所需的数据。

A. 对
B. 错

答案查题题库