//******************************************************************** // Employee.java Author: Brenneman // // Represents an employee with a name and id. // // DO NOT CHANGE THIS FILE! //******************************************************************** import java.text.NumberFormat; import cs1.Keyboard; public class Employee { private String name; private int id; //----------------------------------------------------------------- // Sets up the employee by defining its firsname and lastname. //----------------------------------------------------------------- public Employee (String name, int id) { this.name = name; this.id = id; } //----------------------------------------------------------------- // Returns a one-line description of the Employee as a string. //----------------------------------------------------------------- public String toString () { return "Name: " + name + "\t Id: " + id + "\n"; } }