Specifications for the first draft

Assignment Help C/C++ Programming
Reference no: EM131100372

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.

Reference no: EM131100372

Questions Cloud

Employee of a certain company : Each employee of a certain company is in either Department X or Department Y, and there are more than twice as many employees in Department X as in Department Y.
How the author could make the work stronger : How the author could make the work stronger? The recommend audience of the article? Explain how this article contributes to understanding the history of the United States?
Determining the cybercrime adversaries : How should we balance the need to collaborate and cooperate for the benefit of all with the need to maintain maximum advantage (if however slight) over our cybercrime adversaries? Discuss thoroughly.
Calculate the charge for daytime phone minutes : Draw a typical hierarchy chart for a program that produces a monthly bill for a cell phone customer. Try to think of at least 10 separate modules that might be included. For example, one module might calculate the charge for daytime phone minutes ..
Specifications for the first draft : 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 e..
Examples of different job aids : Research the Internet to find examples of different job aids, and create a three- to five-page job aid document in Microsoft Word that includes the following:
Nature of evaluative reasoning or the basic notions : Could this possibly be a rare mistake, not representative of teacher knowledge - about the nature of evaluative reasoning or the basic notions of criteria.
Interactive and user friendly : Discuss your experiences with respect to the features you think make these technologies more interactive and user friendly. Provide rationale to support your answer.
Human-computer interaction : What impact does each communication type have on human-computer interaction (HCI)? Provide an example for each to illustrate these impacts, if any. Support your answer with appropriate rationale.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Sequence of numbers

What sequence of numbers would be printed if the following procedure were executed with the value of N being 0

  Implement a simple calculator program

Implement a simple calculator

  Difference in systolic blood pressure among race categories

Verify if there is any difference in Systolic blood pressure among the Race categories - Verify the correlation of Systolic blood pressure, Diastolic blood pressure, and Education with respect to Smoking status. Which type of correlation is appropr..

  Contacts class that contains an array

Create a Friend class that contains a first name, last name, a birthday, and a telephone number. Create a Contacts class that contains an array of Friend as well as the owner's name and cell phone Number.

  Write a program that inputs a line of text into char

8.6 (Displaying Strings in Uppercase and Lowercase) Write a program that inputs a line of text into char array s[100]. Output the line in uppercase letters and in lowercase letters.

  Payroll and uses the selection construct

This problem involves payroll and uses the selection construct. A possible restatement: An hourly employee's regular payRate is $16.78/hour for hoursWorked

  User to enter a positive integer with 2 digits

It asks the user to enter a positive integer with 2 digits - If the entered number is out of range, the message "Too difficult!" is printed and the program terminates.

  Prepare a program to find out the perfect numbers

Write a program in C++ that outputs all perfect numbers and their factors from 1 to 1000 using your own created function - Prepare a program to find out the perfect numbers and it must compile with no errors and follow the directions.

  C write a function which adds the two numbers

1. In C write a function which adds the two numbers. Test this function by calling from the main. In main, the user should be asked to provide the two numbers.

  Write a gui application that prints out hello

Write a GUI application that prints out "Hello!" in either: English, French, or Spanish. When the user selects another language, the greeting shown in the greeting area should change. Your GUI should look like the interface shown below

  Problem related to stroing of text file values into vector

I have to store the text file values into a vector and do the sum, here the text file sample: Expenses: Equipment:$300 Food: $50  Consumable expenses: $100

  Write a program that calculates the user''s bmi

Write a program that calculates the user's body mass index (BMI) and categorizes it as underweight, normal, overweight, or obese, based on the following table from the United States Centers for Disease Control

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd