Giesecke+Devrient Interview Question

They asked me to do a OOP project on instruments.