Java What is the Card Solution