If the student is a beginner to programming, it may actually be more worthwhile if you take them through real-world samples like "cat inheriting from feline" etc. This is because they will associate more with these type of examples rather than text readers etc. However, for more experienced students a text reader type of sample should be reasonable.
This
OOD for an ATM[
^] might be something useful to you.