eClinicalWorks interview question

Java program