FICO interview question

basic java conceptual questions