📖 문제다음은 학생의 영어 평균 점수와 수학 평균 점수를 계산하는 코드입니다.avg() 메소드를 작성하여 각 과목의 평균을 구해보세요.※ 함수형 인터페이스 Function를 활용해야 합니다.📦 예제 클래스Function.javapublic interface Function { public double apply(T t);}Student.javapublic class Student { private String name; private int englishScore, mathScore; public Student(String name, int englishScore, int mathScore) { this.name = name; this.englishScore = englishScore; thi..