King_Weaver
Gawd
- Joined
- Nov 26, 2006
- Messages
- 620
Ok so im taking intermediate java and I remember nil from intro to java. I've got to make a program that reads a text file (the file was provided by the professor), then Ive got to use the stingtokenizer method to break the the file into pieces (using , as the delimiter). Then I have to output to the screen and to a file each student and their information (the file is a list of students and their classes). Theres actually a little more than that but right now thats all im concerned with...got to take it one step at a time.
Right now Im building the read method for my class which should find the file, read the file, and then tokenize it. But right now I netbeans is saying "cannot find symbol" for the stringtokenizer, hasmoretoken, and nexttoken methods. Heres what ive got so far.
Right now Im building the read method for my class which should find the file, read the file, and then tokenize it. But right now I netbeans is saying "cannot find symbol" for the stringtokenizer, hasmoretoken, and nexttoken methods. Heres what ive got so far.