Can you provide more information, because there are plenty of ways to implement the solution, it depends on what you want to use as your parent object (i.e. Student or grade), then you can decide how to inherit the parent object (i.e. Student --> student grade OR grade --> student grade). There are also other objects that can be involved in the program, so you need to be specific about how you want to go about this.