Question: Exercise Overview Implement a Java program that prints to the console the sentence, My name is [your name]. The purpose of the project is to

Exercise Overview

Implement a Java program that prints to the console the sentence, My name is [your name].

  • The purpose of the project is to provide the experience of writing a program for a project, exporting it to a folder, and submitting the project materials in eLearning.
  • Upon successful completion of this project, you will have submitted a .java file in eLearning.

Functional Requirements (how the code will work from the user perspective)

  • Program, when run, will print a single sentence on the console.
    • My name is [your name].

Technical Requirements (how you must code it)

The system should include the following Java components:

  • The class name of the program must be [your_name]_Project0. For example, if John Doe were to create the class name for Project 0, his class name would be: John_Doe_Project0.
    • Following this convention for all projects makes the grading much easier for the TA, so you will lose points if you do not follow it.
  • Comments at the beginning of the program must include the students name, section, and project number.
  • System will have one String variable, e.g., name.
  • Variable will have students name assigned to it. For instance:
    • String name = John Doe;
  • System will print the required statement using System.out.println().
  • The variable will be included in the print statement. In other words, do not type your name directly into the print statement.

Additional Technical Requirements

To save the .java file in a folder on your computer:

  • In Eclipse, right-click on the program name in the Explorer section of the screen and select Export.
  • Select File System and then click Next.
  • When the next screen opens, make sure the box next to the file you are saving is checked.
  • Click Browse and then select the folder on your computer where you will store the .java file. Then click Finish.
  • Check the folder where you intended the .java file to be stored. The file type will be .java.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!