Mike,
This code looks [BOLD]a lot[/BOLD] better than your last post. Way to go!
I notice that your included code doesn't ever set the studentNumber, even though your comments for the constructor mention it.
I think the constructor is a fine place for it.
However, I would avoid having an argument named studentNumber in the method setStudentNumber and also a static variable studentNumber (same name).
I'm guessing you want the student number to start at 100 (maybe 101?), and go up statically from there. Fine.
Then redo setStudentNumber to read
or reverse the two lines in the method to start at 101.
Then just invoke setStudentNumber() in your constructor, and never again. (Notice I made the method private.) If you want the student Number to be determined by something other than a static incrementing variable, then you may need to change this.
Bill