the java project for oop2