Create Ex4.java