Employee
EmployeeTester.java
public class EmployeeTester
{
public static void main(String[] args)
{
Employee e1=new Employee("Jack", 200.3);
Employee e2=new Employee("Tom", 1.2);
System.out.println ( "Jack has "+e1.getHours() );
System.out.println ("Expected 200.3");
System.out.println ( "Tom has "+e2.getHours() );
System.out.println ("Expected 1.2");
}
}
