Cannot find symbol - class

Applies to:
NA

Description:
The compiler does not recognize the class name you used

Cause:
a. Typographical and case issues
b. The class used is not imported
public class Input
{
public static void main( String [] args )
{
Scanner scan = new Scanner( System.in );
// code here

admin JAVA-Compiler

  1. admin
    March 9th, 2009 at 18:22 | #1

    Import the class used.

    Example:
    import java.util.Scanner;
    public class Input
    {
    public static void main( String [] args )
    {
    Scanner scan = new Scanner( System.in );
    // code here

  2. admin
    March 9th, 2009 at 18:22 | #2

    Correct typographical or wrong case errors in class names.

  1. No trackbacks yet.