java class cat for andys birthday