Simply Compete interview question

Interface, define a class