Create a Person class that stores a name and birthday of a person. The name can be

Question:

Create a Person class that stores a name and birthday of a person. The name can be a String and the birthday can be a Date object from Project 19 of Chapter 2. The Person class should have both a clone method that creates a new string and a new Date object for the newly cloned Person. It should also have methods to set and get the name and date.

Use your Person class as part of a program that allows you to store and retrieve the birthdays of your friends.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: