Presidio Interview Question

Questions on SQL, Java, oops