Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
bgColor#ccccff
class FileWrite {
    public static void main(String[] args) throws NumberFormatException, IOException { 
      FileOutputStream  out = new FileOutputStream("output.txt");   
      DataOutputStream dos = new DataOutputStream(out);
      dos.writeInt(Integer.valueOf(args[0].toString()));
      dos.close();
      out.close();
  }     
}

Risk Assessment

...