Class WriteToFileTryWithResource

java.lang.Object
edu.pdx.cs410J.core.WriteToFileTryWithResource

public class WriteToFileTryWithResource extends Object
This program does the same thing as WriteToFile but uses the new "try with resource" language feature of Java 7.
  • Constructor Details

  • Method Details

    • main

      public static void main(String[] args)
      The first argument is the file to write to.