Consider the following code:

private static int examScore(int studentNumber) ...
int k = examScore(42);

This code would certainly...
1) be illegal in Java (it's a compile-time error)
2) cause the program to crash when it is executed (it is a run-time error)
3) print out the exam score of student #42
4) assign an exam score of 42 to student k
5) e. be legal in Java (though flagged by Checkstyle)