Class is public, should be declared in a file named

Applies to:
NA

Description:
The source filename and class name defined in the file are not the same

Cause:
Example is the filename is Test and the class name is MyTest.

admin JAVA-Compiler

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

    Spell the filename and class name exactly the same including capitalization.

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

    Ensure that the extension of your file is .java

  1. No trackbacks yet.