Dynata interview question

Java programs