Enigma interview question

Basic Oops with real world example.