在4中,能够获取Socket对象的输入流的方法是。

在4中,能够获取Socket对象的输入流的方法是。

A.outputStream

B.getInputStream

C.getOutputStream

D.inputStream

正确答案是B