I need Help Here
/* Name: Ashley Powell
File Name: Employee */
public class Employee extends Person
{
private double annualSalary;
private int hiredYear;
private String ID;
public Employee(String initialName, double
initialSalary, int joinedYear,
String id) {
super(initialName);
annualSalary = initialSalary;
hiredYear = joinedYear;
ID = id;
}
public void setAnnualSalary(double newSalary){
annualSalary = newSalary;
}
public void sethiredYear(int year) {
hiredYear = year;
}
public void setID(String newID) {
ID = newID;
}
public double getAnnualSalary() {
return annualSalary;
}
public int getHiredYear() {
return hiredYear;
}
public String getID() {
return ID;
}
public boolean equals(Employee otherEmployee) {
if (name.equals(otherEmployee.name))
if (annualSalary ==
otherEmployee.annualSalary)
if (hiredYear ==
otherEmployee.hiredYear)
if (ID == otherEmployee.ID)
return true;
return false;
}
public void writeOutput() {
System.out.printIn("Employee Name: " + name);
System.out.printIn("Employee Annual Salary: " +
annualSalary);
System.out.printIn("Employee Hired Year: " +
hiredYear);
System.out.printIn("Employee ID: " + ID);
System.out.printIn();
}
}
i needed to create program to extend person
/**
Name: Ashley Powell
File name: EmployeeTest.java
*/
import java.util.*;
public class EmployeeTest
{
public static void main(String[] args)
{
Employee e1 = new Employee("John Doe", 50000, 2003,
"E106");
e1.writeOutput();
Employee e2 = new Employee("Mary Poppins", 89000, 1999,
"E304");
e2.writeOutput();
Employee e3 = new Employee("Jake Benibble", 69000, 2001,
"E405");
e3.writeOutput();
Employee e4 = new Employee("Pippin Longstalkings",49000, 1998,
"E403");
e4.writeOutput();
}
}
`
error is Employee.java:66: error: cannot find symbol
System.out.printIn("Employee Name: " + name);
^
symbol: method printIn(String)
location: variable out of type PrintStream
Employee.java:68: error: cannot find symbolInline Code Example Here
`
HELP ME