There are Pens. You can use a pen to write. Each pen has some quantity of ink which dictates how much you can write with a pen (meaning the pen runs out of ink after a while). Marker, ball point, ink are types of Pens. Write a tester class to construct objects of the various types of pens and use them to write.