my home works on OOP in java