Adobe Interview Question

How do you implement a player's card class?