Tennis Example Java