Page 1 of 1

File OS Home Insert Draw Design Layout References Mailings Review View Help PROTECTED VIEW Be careful-files from the Int

Posted: Sun Jul 03, 2022 4:26 pm
by answerhappygod
File Os Home Insert Draw Design Layout References Mailings Review View Help Protected View Be Careful Files From The Int 1
File Os Home Insert Draw Design Layout References Mailings Review View Help Protected View Be Careful Files From The Int 1 (109.46 KiB) Viewed 16 times
File Os Home Insert Draw Design Layout References Mailings Review View Help Protected View Be Careful Files From The Int 2
File Os Home Insert Draw Design Layout References Mailings Review View Help Protected View Be Careful Files From The Int 2 (112.9 KiB) Viewed 16 times
File OS Home Insert Draw Design Layout References Mailings Review View Help PROTECTED VIEW Be careful-files from the Internet can contain viruses. Unless you need to edit, it's safer to stay in Protected View. The Employee class is an abstract class that consists of: • private and protected instance variables. Constructor with four parameters-used to store data into an object Instance methods such as Page 3 of 7 A212 STIA112 Assignment 2 (1) (1).docx (Protected View) - Word 939 words Tell me what you want to do O Getter method- used to retrived value from instance variable of net salary, gross salary, and Employee Provident Fund (EPF). calculateNetSalary() - this method will involve the substraction between gross salary and EPF. o calculateEPFContribution () the EPF will be calculated based on the 9% imposed to the gross salary. o toString()- this method will display four information namely employee number, employee name, employee status and department using this format; Employee Number - xxxx Enable Editing Employee Name xxxx Employee Status = xxxx Department - xxxx o Abstract method named calculateGrosssalary(). The FullTime Employee class is a concrete class that inherits from Employee class. The class consists • Two private instance variables namely basic salary and house allowance. • Constructor with six parameters- used to store data into an object. This class needs to call super class's constructor. • method named calculateGrossSalary(). This method will override the method in the super class. This method will get the summation between basic salary and house allowance. toString() this method will override the method in the super class where it will call tostring() method and additional information using this following output: Employee Number xxxx Employee Name = xxxx Employee Status - xxxx Department - xxxx xxxx Basia Salary House Allowance xxxx Muhammad Azim MA 車 3 ENG US ca d Share 8:15 PM 7/1/2022 X 90%

File OS Home Insert Draw Design Layout References Mailings Review View Help Tell me what you want to do PROTECTED VIEW Be careful-files from the Internet can contain viruses. Unless you need to edit, it's safer to stay in Protected View. Enable Editing Page 4 of 7 A212 STIA112 Assignment 2 (1) (1).docx (Protected View) - Word 939 words The Part Time Employee class is a concrete class that inherits from Employee class. The class consists Two private instance variables pay rate per day, and worked days. • Constructor with six parameters- used to store data into an object. This class needs to call super class's constructor. method named calculateGrossSalary(). This method will override the method in the super class. This method will get the multiplication between rate per day and worked days. tostring() - this method will override the method in the super class where it will call toString() method and additional information using this following output: Employee Number - xxxx Employee Name - xxxx Employee Status xxxx Department = xxxx Rate Per Day - xxxx Worked Days - XXXX Gross Salary xxxx EPF xxxx Net Salary - xxxx The EmployeeForm class is a concrete class that will deals with a Graphical User Interface (GUI) that consists of several GUI components such as lable, text field, button etc. You are required to give a meaning full name for GUI component as explained in the class (text field -TF, button - Btn, radio button - RB, combo box-CB, text area - IA). The items that should be included in the department's combo box as shown below: Locomand Pay Rae Per Day Number of Days Wered The full GUI interface can be seen as follows: HH Please Seled Please Sele Scheel of According Schef Camping School of Qua Scheel of Economic Muhammad Azim MA 車 3 ENG US ca d Share 8:15 PM 7/1/2022 X 90%

File OS Home Insert Draw Design Layout References Mailings Review View Help PROTECTED VIEW Be careful-files from the Internet can contain viruses. Unless you need to edit, it's safer to stay in Protected View. Page 7 of 7 939 words | Digital D Employee Narw Salary Calculation System Depar Employee Stat PRolo Per Do Nancer Days wa Bay Houseware C EPF KWSP A212 STIA112 Assignment 2 (1) (1).docx (Protected View) - Word Tell me what you want to do Enable Editing Nelay Display All Employees All employees records/ data will be displayed in the text area using the following output (you must call tostring() method): Call and save M Poase 800 Part Time F Dispa Roce Alstof Emo Erpky 111 Employee Name Mohd Zabicin Hurin Crpky Department Schoo 392 Pay Per Day 3030 Warkad Day-20 Grossa 3000 CT-5430 Netay5490.0 Erkve Non-222 Employee Name-Maari Jamaludin Crpky Full Time Department School of Qu Riwy 50000 H House Allowance-700D Gross Saran-57000 CPF-5130 Nelay-517.0 The number of me E The remer of Fumes-1 The number of employ 2 0 You are also required to display the number of part time employee and full time employee using the instanceof. Just ignore about the number of available employee. Reset When a user clicks on this reset button, all the fields of text fields, radio button, and text area will be cleared/empty, and the value in the combo box will be set to the first item. Muhammad Azim MA 車 3 ENG US ca d Share 8:15 PM 7/1/2022 X 90%

OS Page 2 of 7 File Home Insert Draw Design Layout References Mailings Review View Help ✪ PROTECTED VIEW Be careful-files from the Internet can contain viruses. Unless you need to edit, it's safer to stay in Protected View. 939 words A212 STIA112 Assignment 2 (1) (1).docx (Protected View) - Word Tell me what you want to do Enable Editing STIA1128 individual Assignment 2 QUESTION There is a small restaurant owner asks you to develop a simple payroll system for its staffs. The system will calculate the net salary for his staffs. The diagram below shows a UML class diagram of the payroll system that consists of four classes namely EmployeeForm, Employee, FullTime Employee and PartTimeEmployee. -kryd EmplaysForm - Employe -Index -ponfaeerdo -Day - -Din -Name: Sting -category: String -department S Powry do gryde Salary dos claros og +gogoy, department h Croa gehetsalary: couble +geEPTO double +calurosalary w yo +EPF Cond tring(): String FullTimeCmployee +FullDirt, empName:Sting category: String department String basicSalaryxouble, houssAllowanca doubDio) +cal +10baring): String Employe Parti exc Prepletenint expName:ing, category: String department Sting pepate Per Day double, workedDays Muhammad Azim MA 車 3 ENG US ta d Share 8:15 PM 7/1/2022 X 90%

File Tell me what you want to do A212 STIA112 Assignment 2 (1) (1).docx (Protected View) - Word Home Insert Draw Design Layout References Mailings Review View Help PROTECTED VIEW Be careful-files from the Internet can contain viruses. Unless you need to edit, it's safer to stay in Protected View. Salary Calculation System OS Page 3 of 7 939 words Employee E EmpName Desatran Ergoyne Pariss Payal Day Name of Car arkad Boka House Allowake Gray CPF KWSP Naty Canda Phase Select ⒸPT ⒸFul Ti . Dapay Ara " Reset Enable Editing Based on the information above, you are required to: write a full definition/ implementation of class Employes write a full definition/ implementation of class FullTimeEmployee write a full definition/ implementation of class PartTimeEmployee Complete the implementation of following operation in the class EmloyeeForm as follows: Calculate Salary and Save This operation will be implemented when a user has entered all the information except the gross salary, EPF and net salary as below. If the employee is a full time employee, the system will allow you to enter data for basic salary and house. allowance only. But if the employee is a part time employee, the system will allow you to key in data for pay rate per day and number of worked days only. User is not allowed to enter data for gross salary, EPF and net salary. When the user clicks on the Calculate Salary and save button, all the values will be obtained from respective GUI components (except gross salary, EPF, and not Muhammad Azim MA 車 3 ENG US ca d Share 8:15 PM 7/1/2022 X 90%

File OS Home Insert Draw Design Layout References Mailings Review View Help PROTECTED VIEW Be careful-files from the Internet can contain viruses. Unless you need to edit, it's safer to stay in Protected View. Page 6 of 7 939 words Cra Expe Department Employee Stat Salary Calculation System Pale Per Day Number of Days Worked Ratic Batary Hease avance Adie EFF KING Ne: Salary Empo Employee Name Dett A212 STIA112 Assignment 2 (1) (1).docx (Protected View) - Word Tell me what you want to do Enable Editing to calculate the gross salary, EPF contribution, and net salary using. Those three values must be displayed on respective text fields. Humber of C Werted Cas EKSP 111 Mod of Camp ⒸPart Time Full Time Salary Calculation System 300 20 D Sch A Jama OPORT FA 703 Salary Calculation System Cr evalie Nave Employ PR Peray of Dave Word Say Helvac ERFK Ny Cande Empo Impla Depart Eng Suk He | Humbered D Schlof Computing ⒸFT EFFQ KIP 300 20 Salary Calculation System 4000 54500 Dalays Jar Seal of Qua OPT @T Tea 52003 $12.0 Time 54873 M Muhammad Azim MA 車 3 ENG US ca d Share 8:15 PM 7/1/2022 X 90%