Update Exercise.java

comments added