Publicis Sapient Interview Question

Basic Question from Java, DS and SQL and some coding question.