Update Exercise6_24.java