Brillio interview question

Basic concepts of java