{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

EmployeeDemo.java - public class EmployeeDemo cfw public...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
public class EmployeeDemo { public static void main(String []args) { Employee emp1 =new Employee(); Employee emp2 =new Employee("Mark Jones",39119); Employee emp3 =new Employee("Joe Rogers",81774,"Manufacturing","Engineer"); emp1.setName("Susan Mayers"); emp1.setIdNumber("47889"); emp1.setDepartment("Accounting"); emp1.setPosition("Vice president"); emp2.setDepartment("IT"); emp2.setPosition("Programmer"); System.out.println("Name\t\t\tID Number\tDepartment\t\tPosition");
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}