That's saying that the java.util.Scanner constructor is marked as being able to throw the exception java.io.FileNotFoundException - you either need to wrap that in a try/catch or mark your function as ...
某些結果已隱藏,因為您可能無法存取這些結果。
顯示無法存取的結果某些結果已隱藏,因為您可能無法存取這些結果。
顯示無法存取的結果