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.
15 lines
432 B
15 lines
432 B
import java.util.HashMap;
|
|
import java.util.Map;
|
|
|
|
public class EmployeeStatistics {
|
|
|
|
public Map<Integer, Integer> getAgeDistribution() {
|
|
// Age field not defined in Employee; returning empty for now.
|
|
return new HashMap<>();
|
|
}
|
|
|
|
public Map<Integer, Integer> getSalaryDistributionByDept() {
|
|
// Department field not defined in Employee; returning empty for now.
|
|
return new HashMap<>();
|
|
}
|
|
} |