1

Write a method defination(just the first line) for the following description. The wording must be exact and correct!The method must be called calculateFinalExam. The method must return a double.
The method accepts 3 parameters:
1. the studentId which must be an integer
2. the studentName which must be a String
3. the testScore which must be a double.

  • public int calculateFinalExam(int studentId,String studentName,double testScore)

  • public double calculateFinalExam(int studentId,String studentName,double testScore)

  • public void calculateFinalExam(int studentId,String studentName,double testScore)

  • public double calculateFinalExam(double studentId,studentName,testScore)