If employee is an array of objects with a public member function named set Hours Worked, which of the following statements correctly calls that function for the employee object in array element 5?

A) employee. set Hours Worked[5] = 40;
B) employee[5].set Hours Worked = 40;
C) employee .set Hours Worked[5](40);
D) employee[5].set Hours Worked(40);
E) set Hours Worked(employee[5], 40);

D) employee[5].set Hours Worked(40);

Computer Science & Information Technology

You might also like to view...

What is the term used to describe when access points are placed at multiple geographical locations and interconnected by a switched infrastructure?

A) Basic service set B) Extended service set C) Geographical service set D) Enhanced service set

Computer Science & Information Technology

The ________ error message will appear if you try to divide by zero

Fill in the blank(s) with correct word

Computer Science & Information Technology