title: I'm new to Java and I keep seeing "unused import" every time I try to import the Scanner class. What does unused import mean?
body: <p>UPDATE: Thanks for all the help friends. I realized that it was simple. I wasn't using the Scanner s = new Scanner (System.in); statement. The alert disappeared after I completed the code. </p>
  
  <p>I'm trying to get used to Java and Netbeans before the new semester starts. I've been following this website (<a href="https://www.codesdope.com/java-input-by-user/" rel="nofollow noreferrer">https://www.codesdope.com/java-input-by-user/</a>) just to try things out as a beginner. Whenever I use the <code>import java.util.Scanner</code> statement, I keep getting an unused import alert. Could anybody tell me how I can avoid this and what's causing the alert? </p>
  
  <p>Sorry, I didn’t really have much code besides the template and the import. Here it is for better reference.</p>
  
  <pre><code>package codesdope;
  
  import java.util.Scanner;  //This is where the unused import alert comes up
  
  public class CodesDope
  {
      public static void main(String[] args)
      {
          // TODO code application logic here
      }
  
  }
  </code></pre>