public void close() throws IOException {
  super.close();
  out.close();
}

public void close ( ) throws IOException { super . close ( ) ; out . close ( ) ; }
closes the input and output streams and releases any system resources associated with those streams .
