@@ -0,0 +1,9 @@
|
||||
package com.stackify.services;
|
||||
|
||||
import com.stackify.models.Employee;
|
||||
|
||||
public class EmployeeService {
|
||||
public double calculateBonus(Employee employee) {
|
||||
return 0.1 * employee.getSalary();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user