Java for 10