I need to do a program that determines whether a file of student records is in sorted order or not. This program should consist of two classes.
In the first class it should contain a main method that prompts the user for the name of the input file.If the file cannot be opened, it should continue to reprompt the user for the correct name, until the file can be opened. The file should be read and the program should verify that the file is in ascending order. If it is not, an appropriate error message should be displayed and the program should terminate. As the student records are read in they should be displayed on the screen.I only doing first class because im already getting an error, i wanted to to thid first before i move on to the secomd class method.
I admit this is a project but i need some guidance please..
here is the code that i just did:
Im getting an error : illegal start of expression
sorry im new to java, really trying to understand it..
please help .. thanks
[ February 08, 2006: Message edited by: jcie ching ]