1. Create four (4) Java cdasnes Name them RunEmployen Employee, FulITimeEmployee PartTimeEmploye The RunEmployee class shal contain the main method and wil be used to execute the program. 2. Wrte a smple payrol program that wil display employee's intormation. Refer to the UML Class Dagram tor the names of the variable and meithod. This should be the sequence of the program upon eecution a Asa the user to input the name of the employen b. Prompt the uner to seiect between full time and part time by pressing ether F ( time) or P (part time). C HFs pressed, ask the uner to type his monthly satary. Then, display his name and monthly salary IHPa pressed. ask the user to type his rate tpay) per hour and the number of hours he work for the entire month rated by a space Then, display his name and wage

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Java encode ding codes 

Sohware Requirements:
Latest venion of Netfleans IDE
Java Development Ki (JDK) 8
Procedure
1. Create four (4) Java casses. Name them RunEmployen Employe, FulTimeEmployee.
PartTimeEmployeu The RunEmployee clans shal contain the main method and wil be used to
execute the program.
2. Wrte a simple payroli program that wil display employee s intormation. Refer to the UML Class
Dagram tor the names of the variable and meithod. This should be the sequence ot the program
upon esecution
a. Ask the user to input the name of the employee
b. Prompt the user to seiect benween ful time and part time by pressing ether F (h time) or P
(part time)
e HFis pressed, ask the uner to type his monthly salary. Then, display his name and monthly
salary
IPa pressed, ask the user to type his rate (pay) per hour and the number of hours he work
for the entire month separated by a space. Then, display his name and wage
Employes
name String
setiamel vod
getName Strng
FulITimeEmploye
monthlySalary dNHAM
setMonthySalary) void
getMonthiyatary double
Part Timel mployee
TatePerHour doutle
hoursWorked int
wage doutle
sewage vod
eWage dobl.
Note: You can add variables and method needed. Just make sure that al the variables and methods in
the diagram are properly used.
Transcribed Image Text:Sohware Requirements: Latest venion of Netfleans IDE Java Development Ki (JDK) 8 Procedure 1. Create four (4) Java casses. Name them RunEmployen Employe, FulTimeEmployee. PartTimeEmployeu The RunEmployee clans shal contain the main method and wil be used to execute the program. 2. Wrte a simple payroli program that wil display employee s intormation. Refer to the UML Class Dagram tor the names of the variable and meithod. This should be the sequence ot the program upon esecution a. Ask the user to input the name of the employee b. Prompt the user to seiect benween ful time and part time by pressing ether F (h time) or P (part time) e HFis pressed, ask the uner to type his monthly salary. Then, display his name and monthly salary IPa pressed, ask the user to type his rate (pay) per hour and the number of hours he work for the entire month separated by a space. Then, display his name and wage Employes name String setiamel vod getName Strng FulITimeEmploye monthlySalary dNHAM setMonthySalary) void getMonthiyatary double Part Timel mployee TatePerHour doutle hoursWorked int wage doutle sewage vod eWage dobl. Note: You can add variables and method needed. Just make sure that al the variables and methods in the diagram are properly used.
Expert Solution
steps

Step by step

Solved in 5 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY