The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Jul 2017 |
| Last Sign in: | 304 Weeks Ago, 2 Days Ago |
| Questions Answered: | 15833 |
| Tutorials Posted: | 15827 |
MBA,PHD, Juris Doctor
Strayer,Devery,Harvard University
Mar-1995 - Mar-2002
Manager Planning
WalMart
Mar-2001 - Feb-2009
Hi, need a little assistance, wondering if you can help me out with this.
Â
Scenario/Summary
Â
The objective of the lab is to take the UML Class diagram and enhance last week's Employee class by making the following changes:
Listen
Deliverables
Â
NOTE
Submit your assignment to the Dropbox, located at the top of this page. For instructions on how to use the Dropbox, read these step-by-step instructions.
(See the Syllabus section "Due Dates for Assignments & Exams" for due dates.)
Due this week:
Listen
Required Software
Â
Connect to the iLab here.
Listen
Lab Steps
Listen
STEP 1: Understand the UML Diagram
Â
/p>
Â
The following attribute has been added:- static numEmployees: int = 0
The following behaviors have been added:+ static getNumEmployees( ) : int
+ setDependents(in dep : String) : void
+ setAnnualSalary(in sal : String) : void
Listen
STEP 2: Create the Project
Â
You will want to use the Week 2 project as the starting point for the lab.
Listen
STEP 3: Modify the Employee
Â
Be sure you follow proper commenting and programming styles (indentation, line spacing, etc.).
Listen
STEP 4: Modify the Main Method
Â
In the Main class, create code statements that perform the following operations. Be sure you follow proper commenting and programming styles (header, indentation, line spacing, etc.). Note that several of the steps below were accomplished in last week's assignment. New steps are in bold.
Listen
STEP 5: Compile and Test
Â
When done, compile and run your code.
Then, debug any errors until your code is error-free.
Check your output to ensure that you have the desired output, modify your code as necessary, and rebuild.
Listen
STEP 6: Screen Prints
Â
Capture the Console output window and paste it into a Word document. The following is a sample program output.
Â
Listen
STEP 7: Submit Deliverables
Â
----------- Â ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly