FDM Group interview question

object and class