class Employee { private static int nextId = 1; private String name; private int id; public Employee(String n) {name = n; id = nextId; nextId++;} public static int getNextId() {return nextId;} public String toString() {return name+" ("+id+") ";} public static void main(String[] args) // unit test for Employee class { Employee a = new Employee("Harry"); Employee b = new Employee("Helena"); Employee c = new Employee("Paul"); System.out.println(a); System.out.println(b); System.out.println(c); System.out.println("The Id of the next new employee will be " + Employee.getNextId()); } } /* Rundown: Harry (1) Helena (2) Paul (3) The Id of the next new employee will be 4 */