Create a NetBeans project for this activity. Project Name:           Example: MP2_Blanco_Maria * Define 2 classes. The main class contains the main method. Main Class:             Example: Employee_Blanco Other Class:             Example: PaySlip_Blanco

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

Hi! I would like to request for a correct Java programming:

 

* Create a NetBeans project for this activity.
Project Name:
          Example: MP2_Blanco_Maria
* Define 2 classes. The main class contains the main method.
Main Class: 
           Example: Employee_Blanco
Other Class: 
           Example: PaySlip_Blanco

 

 

 

 

 

6. The computation is as follows:
Gross income
basic salary + OT pay
OT pay = no. of OT hours * 1% of basic salary
Net pay
= gross income
withholding tax
other deductions
Withholding tax =
based on the table above
7. The following are the other deductions:
SSS
13% of the basic salary
Pag-ibig = 2% of the basic salary
Philhealth
3.5% of the basic salary, maximum of 2,450
8. Use the Philippine Peso currency and 2 decimal places for all the monetary
value display.
9. The output should contain the following:
Date Generated (This is the system date.)
Employee Name
Basic Salary
No. of OT Hours
ОТ Рay
Gross Income
Withholding Tax
Other Deductions:
SSS
Pag-ibig
PhilHealth
Net Pay
Transcribed Image Text:6. The computation is as follows: Gross income basic salary + OT pay OT pay = no. of OT hours * 1% of basic salary Net pay = gross income withholding tax other deductions Withholding tax = based on the table above 7. The following are the other deductions: SSS 13% of the basic salary Pag-ibig = 2% of the basic salary Philhealth 3.5% of the basic salary, maximum of 2,450 8. Use the Philippine Peso currency and 2 decimal places for all the monetary value display. 9. The output should contain the following: Date Generated (This is the system date.) Employee Name Basic Salary No. of OT Hours ОТ Рay Gross Income Withholding Tax Other Deductions: SSS Pag-ibig PhilHealth Net Pay
Write a Java program with the following specifications:
1. Define the attributes of the PaySlip class. Define the constructor for this class.
2. Define the setters (mutators) and the getters (accessors) for the PaySlip class.
3. Define also the custom methods in the PaySlip class as follows but not limited
to determineWithholdingTax( ) and computeCompensation( ).
4. Input the employee name, basic salary, and number of overtime (OT) hours.
Data input should be done in the main method. The final output as described in
#9 should be generated in the main method, as well.
5. Use the table below to compute the withholding tax.
Monthly Gross Income and Withholding Tax Details
Withholding Tax
Over
But Not Over
20,000
31,000
61,000
154,000
615,000
20,000
31,000
61,000
154,000
615,000
0%
20% of the excess over 20,000
2,300 + 25% of the excess over 31,000
10,000 + 30% of the excess over 61,000
38,000 + 32% of the excess over 154,000
185,000 + 35% of the excess over 615,000
Transcribed Image Text:Write a Java program with the following specifications: 1. Define the attributes of the PaySlip class. Define the constructor for this class. 2. Define the setters (mutators) and the getters (accessors) for the PaySlip class. 3. Define also the custom methods in the PaySlip class as follows but not limited to determineWithholdingTax( ) and computeCompensation( ). 4. Input the employee name, basic salary, and number of overtime (OT) hours. Data input should be done in the main method. The final output as described in #9 should be generated in the main method, as well. 5. Use the table below to compute the withholding tax. Monthly Gross Income and Withholding Tax Details Withholding Tax Over But Not Over 20,000 31,000 61,000 154,000 615,000 20,000 31,000 61,000 154,000 615,000 0% 20% of the excess over 20,000 2,300 + 25% of the excess over 31,000 10,000 + 30% of the excess over 61,000 38,000 + 32% of the excess over 154,000 185,000 + 35% of the excess over 615,000
Expert Solution
steps

Step by step

Solved in 3 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