Update solution002.java