运行程序,并分析类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. 错
网络体系结构中,能实现路由和寻址功能的是哪一层?
A. 物理层
B. 数据链路层
C. 网络层
D. 传输层