Monday, March 16, 2015

Playing Card Lab Now Due Day Before Break

The due date of the playing card lab has again been pushed out. It is now due the Friday before break.

mr. sarkar

Friday, March 13, 2015

How to pass a filename to a program

The code below assumes that the filename to be used by the progam is contained in args[0]

public class FileNameDemo
{
    public static void main(String [] args) {
        String fileName = args[0];
        FileReader reader = new FileReader(fileName);
        Scanner inputFile = new Scanner(reader);
    }
   
}

Friday, March 6, 2015

Playing Card Lab Due Date Pushed to 3/23

Given all the sorting code is due next week, the Playing Card Lab is now due on 3/23.

mr. sarkar

Friday, January 30, 2015