Question: java Q4. Driver (15 points) Assume that you have implemented Timecard.java perfectly. If you have declared any instance variables to be private, then assume that



java
Q4. Driver (15 points) Assume that you have implemented Timecard.java perfectly. If you have declared any instance variables to be private, then assume that perfect getters and setters are provided as well. 1 package midterml; 2 3 public class Driver { 4 5 6 public static void main(String[] args) { Timecard () employee Hours = new Timecard (3); 7 8 employee Hours (1) employee Hours (2] = new Timecard ("John", "john@yahoo.com"); = new Timecard ("Mary", "mary@gmail.com"); I for (int i = 0; i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
