FICO interview question

Abstract class and interface