Question: what does it mean? really didnt understant , squared it. pls help me - A Payeoli object rapresents the payroll of the employees. - Data
- A Payeoli object rapresents the payroll of the employees. - Data feld wgekireue keaps the number of hours an amployee hes worbed. - Data field 2ten tount keeps the number of icems an employee has produesa. - A Fayzo11 object is created with a piven wgzk4tzuz and z Fentrunt * Youhave to use this keyword in the implementation of the conatructor. a Consider the followint example which demondtrates the creation of Zayza2] object. Q Here; the payroll will be created for the 8 hours of wocking and 15 produces cons. - catoulatesalary) method calculates salary of the amployee accondint to the number of hours an employse has worked and the number of items sthe produced. For each hour an employte works, s/he egrns 30 liras and for aach isem ifte srocuces if he additionally earns 20 liras. As an exampls, an smployee will earn 8330w240 Ires for the working hours and 15 "20u300 liras for the items produced with the sample aynct1. above; hence a tocal of 540 liras should be calculated: item count of the payrell. An exariple string is as following o the work hour 12.$ and the produced toen colet in tt. 3. Implamwn an Eugloyes slass with the following UMCL digram. - Ati Enelejes object represents an employee working for the fachory. - Outa field 16 kesps the id number of the Zrglsyet object created. - Cata ficlds same and guznaze keeps the rame and the surname of the employec. respectively- - Oata field watkzteut keeps the number of hours an smoloyee will work. - Data field 1 tests array holds the ieems produced by the employet. - Data field rauzall kecos the parroll of the employe. values
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
