Java OOP project.