Well, for my database class I need to write a progam that preforms something a database does quite easily. I need to cross reference two files of data, one has a roll of students and thier ID numbers, the other file has a list of all courses taken by each ID number, I need to return a list of student names alphebetically who took class X. This is truely my first time programming in java, figures they teach c++ for the first 3 years then expect you to know java all the sudden. Since I am not familiar with java or any nifty functions it might have, I wanted some opinions on if the way I'm thinking about this is the hard way. I was just going to read the roll file putting each student into the java equivalent of an array of structs(holding the student info, and a flag field for having taken class X) I will also just do alphabetizing then. Next I will check the class list and each time I find a line with class X, I will mark the flag in the array element with the matching student ID. Once I'm done, just print all elements of the array with the flag set. Any comments?