Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

Specifications for the first draft of the MyClone class : Submit a first version of your MyClone clas

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.

  1. MyClone Class created using correct Java syntax.
  2. MyClone Class Instance Variables: Include required instance variables      and restrict access by using the private specifier.

Data Structure for Message Storage:

  1. Storing the Array: Write an application that uses an Array to store 10messages of type String. You will store this Array with 10 messages of your choosing. For example, a message could be “I love Java the programming language!” or another message could be “I love Java the drink!”
  2. Initializing the Array: You may initialize your Array with the messages or have the user enter the messages. The choice is yours. Your Java code will contain a method called shoutOutCannedMessage() that will loop through the Array to iterate through your entire list and display each message and allow the user to select one. The shoutOutCannedMessage() will return the selected message String.
 
"Looking for a Similar Assignment? Order now and Get 10% Discount! Use Code "Newclient"