INHERITANCE. Defining Classes with Inheritance Case Study: –Suppose we want implement a class roster that contains both undergraduate and graduate students.