Stream closed and not reopened - Java
问题 I have an easy 'homework' to do, but I have found a little problem with the closure of the input stream. To put it simply, I have to make a contact 'list' application in Java, just to use the polymorphism in the correct way. So I have a class Contact and a subclass Private (contact). In both class there is a modify method to change the value of the variables. public void modify() throws IOException { System.out.println("Previously name: " + name); System.out.println("Insert new name"); try