EmployeeClassTest.java - package employeeclasstest import employee.Employee public class EmployeeClassTest public static void main(String args Employee

EmployeeClassTest.java - package employeeclasstest import...

This preview shows page 1 out of 1 page.

package employeeclasstest; import employee.Employee; public class EmployeeClassTest { public static void main(String[] args) { Employee employee1 = new Employee(); Employee employee2 = new Employee( "Mark Jones", 39119 ); Employee employee3 = new Employee( "Joy Rogers", 81774 , "Manufacturing", "Engineer"); employee1.setName( "Susan Meyers" ); employee1.setIdNumber( 47899 ); employee1.setDepartment( "Accounting" ); employee1.setPosition( "Vice President" ); employee2.setDepartment("IT"); employee2.setPosition("Programmer"); System.out.println( "Name\t\tIdNumber\t\tDepartment\t\tPosition" );
Image of page 1

You've reached the end of your free preview.

Want to read the whole page?

  • Fall '19
  • vice president, new employee, Susan Meyers, Joy Rogers, employee1

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes