try (InputStream input = this.sock.getInputStream()) { try (OutputStream output = this.sock.getOutputStream()) { } }
感觉可以写成
try (InputStream input = this.sock.getInputStream(); OutputStream output = this.sock.getOutputStream()) { }
不知道有没有区别?
没有区别
Sign in to make a reply
SNH48-刘慈欣
感觉可以写成
不知道有没有区别?