Cannot find symbol - class
March 9th, 2009
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
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
Correct typographical or wrong case errors in class names.