If you are doing user input in your Java apps, you'll likely be using the Java Scanner. If that's the case, a Java Scanner import will be required.
In this simple Java Scanner import example, we show you how to import the Java Scanner, show you alternatives to performing a package import, and we even explain what it means to import java.util.Scanner.
It's a fairly simple process, but it's also incredibly frustrating if you're running into a Scanner type not found error and you don't know how to fix it. Fortunately, the simple addition of a Java Scanner import will solve the problem.
For a full Java Scanner tutorial, check out the complete article posted over on TheServerSide:
https://www.theserverside.com/blog/Coffee-Talk-Java-News-Stories-and-Opinions/Java-Scanner-import