Presidio interview question

Questions on SQL, Java, oops