Santa Claus allegedly keeps lists of those who are naughty and those who are nice. On the naughty list are the names of those who will get coal in their stockings. On the nice list are those who will receive gifts. Each object in this list contains a name (an instance of the class Name) and a list of that person’s gifts (an instance of ArrayList). Design and implement a class of the objects on the nice list. Write a client that creates and demonstrates Santa’s nice list.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here