MyClone class
Specifications for the first draft of the MyClone class: Submit a first
version of your MyClone class. Your MyClone class should have instance variables firstName and lastName. The firstName and lastName instance variables will hold your first and last names. You will demonstrate your understanding of encapsulation by using the private specifier to restrict access to your instance variables.
Feel free to add additional instance values and methods, but your clone object must have instance variables firstName and lastName. The firstName and lastName instance variables will hold your first and last names. You will demonstrate your understanding of encapsulation by using the private specifier to restrict access to your instance variables.
- MyClone Class created using correct Java syntax.
- MyClone Class Instance Variables: Include required instance variables and restrict access by using the private specifier.
Data Structure for Message Storage: