How do I structure this??
public static void main(String[] args) {
// First we create a variable of type Employee and set it to a new
// instance of an Employee, passing some test data to the constructor. Employee e = new Employee("John", "Fey", 1962, 12.59);
// Print out the data with nice titles System.out.println("Name: " + e.firstName + " " + e.lastName); System.out.println("Emp. Id: " + e.employeeId); System.out.println("Hourly Rate: $" + e.hourlyRate); System.out.println(); // This will simply create a blank line
// We're done with this employee, so now we'll re-use the Employee variable // called "e" by once again setting it to a new instance of an Employee,
// passing different test data to the constructor.
e = new Employee("Jamie", "Poehler", 5643, 14.25);
// Print out the data with nice titles System.out.println("Name: " + e.firstName + " " + e.lastName); System.out.println("Emp. Id: " + e.employeeId); System.out.println("Hourly Rate: $" + e.hourlyRate); System.out.println(); // This will simply create a blank line
}