FICO interview question

Questions related to basic java.