BCNC GROUP interview question

How to implement interface methods