java的inputstream是抽象类,那么为什么存在socket.getinputstream.read()。抽象类不能实例化,那么为什么可以InputStream is = System.in int i = is.read();