Community driven content discussing all aspects of software development from DevOps to design patterns. Good programmers need to create code that efficiently solves problems, using various methods. A ...
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 ...