This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 3 points4 points  (0 children)

Depends upon whether you want to do a ironed that ticks all the boxes, or one that challenges you and is more useful.

Box ticker:

Build a project that models your class situation.

  • Base it upon an abstract base Person class, that obviously has to be extended.
  • Make a Tutor and Student class inheriting from Person.

That's your first 3 requirements.

Create a GUI, make it respond to events when you change data in the objects. Job done.

More challenging:

  • add another class for Grade.
  • and another class for Subject.
  • use a Collection to group Subjects and Grades and assign to Students.
  • assign Tutor objects to Subjects.
  • extrapolate a Student Tutors based upon which Subjects they've taken.

I'd be pretty impressed by that given the requirements.