Fill This Form To Receive Instant Help

Help in Homework
trustpilot ratings
google ratings


Homework answers / question archive / BCIS 3680 Enterprise Programming Assignment 1 The purpose of this assignment is to get you familiar with the correlation between the structure of a package name and the structure of folders in which files belonging to the package are stored

BCIS 3680 Enterprise Programming Assignment 1 The purpose of this assignment is to get you familiar with the correlation between the structure of a package name and the structure of folders in which files belonging to the package are stored

Computer Science

BCIS 3680 Enterprise Programming Assignment 1

The purpose of this assignment is to get you familiar with the correlation between the structure of a package name and the structure of folders in which files belonging to the package are stored. 

 

  1. Download the source code files of two classes from Canvas: Hello.java and TimeStamp.java. Note that the TimeStamp class belongs in the itds.bcis3680 package and you don’t want to change its package affiliation.

 

  1. In NetBeans, create a new project for Assignment 1.

 

  1. Create a package with the name your_lastname.your_firstname (replace with your real names). Note there are two parts in this package name, separated by a dot (.). For example, I will create the wu.andy package.

 

  1. Upon the creation of this package, NetBeans should have created the folders to store source code files for classes in the package, per the rules governing the names of and relationship between these folders. In the src subfolder of the project folder, you should see a subfolder called your_lastname and inside this folder, a subfolder by the name your_firstname

 

Move the Hello.java file you downloaded from Canvas into the your_firstname folder. In the project navigation pane of NetBeans, you should be able to expand the your_lastname. your_firstname package and find the Hello class in it.

 

  1. In the same project, create another package by the name itds.bcis3680. As in the case of the previous package, NetBeans automatically creates the corresponding folders for this package. Move the file TimeStamp.java into the src\itds\bcis3680 folder. You don’t want to make any changes to the source code of this class.

 

  1. In Hello.java, do the following:
    1. Add a comment showing the assignment number, your name, and the date on which you modify it. Use multiple?line comment if necessary.
    2. Add a package statement so that it belongs in the your_lastname.your_firstname package.
    3. Modify the JOptionPane statement in Hello.java so that the message greets you instead of Andy Wu.

 

  1. Make sure the two classes are in the correct packages and no errors are indicated in the project navigation pane. Then right click the Hello class and click “Run File” in the pop?up menu:

 

 

 

 

 

You should see a dialog box containing the greeting and time stamp, as shown below:

 

 

 

 

 

  1. Take a screenshot of the dialog box. Do NOT use your cell phone or camera to take it. Doing so will cause point deduction. Instead, use the Snipping Tool in Windows to take the screenshot.

 

  1. During the process of running the program, NetBeans automatically created a new subfolder build in the project folder. Inside this folder there is a classes subfolder. Under build\classes the compiled classes (with the .class file extension) are stored in subfolders created following the same rules for the source code files. Thus, if your program ran successfully, you should see the compiled Hello and TimeStamp classes in the following locations (of course, you should see folders named after your first and last names instead of mine):

 

 

 

 

 

 

 

 

 

  1. Open Notepad++. If you are using the course VM, it’s pre?installed. Otherwise, you may have to download it from https://notepad?plus?plus.org/downloads/ and install it. As a matter of fact, it can be used as a Java IDE as well.

 

  1. In Notepad++, create a text file Hello.txt. Do NOT save it with .java extension. Make it a pure text file with the .txt file extension. 

 

  1. Copy the entire content of the finalized version of your Hello.java in NetBeans. Paste it into

Hello.txt and save. Note that you will want to update this text file if you make changes in

Hello.java later, as you may be graded based on this file.

 

  1. Zip the entire project folder into a compressed file by the name 3680-HW1-YourLastNameYourFirstName with the .zip, .rar, or .7z file extension. You don’t have to include the screenshot you took earlier in this zip file.

 

Submission

 

Due Date: 11:59 PM on Saturday, February 5, 2022

Submission Requirements:

      • No hard copy is required.
      • Log into Canvas.
      • Locate the submission link for Assignment 1.
      • Attach the following files:
      • The compressed file containing your entire project folder.
      • Hello.txt containing the finalized content of your Hello.java source code.
      • Screenshot file showing the result of code execution.
      • Failure to comply with these requirements will cause point deduction.

Option 1

Low Cost Option
Download this past answer in few clicks

18.99 USD

PURCHASE SOLUTION

Already member?


Option 2

Custom new solution created by our subject matter experts

GET A QUOTE