Your student class looks good.
Quote:
I still don't know the why and what of get and set methods, but I believe this will become apparent when I start fiddling with the array.
|
Unfortunately, it probably won't become apparent. The assignment you've been given is a terrible way to learn the "why" of OOP, since what you've been told to do is code a procedural style program using objects. But no need to worry about that now
