Create withoutEnd2.java