You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
474 B
14 lines
474 B
public class EmailService {
|
|
|
|
public void sendHireEmail(Employee employee) {
|
|
System.out.println("Hire email sent to " + employee.getEmail());
|
|
}
|
|
|
|
public void sendSalaryAdjustmentEmail(Employee employee) {
|
|
System.out.println("Salary adjustment email sent to " + employee.getEmail());
|
|
}
|
|
|
|
public void sendTerminationEmail(Employee employee) {
|
|
System.out.println("Termination email sent to " + employee.getEmail());
|
|
}
|
|
} |