I am using Maven to build the project and the compilation is unsuccessful because I used class test2 < / Code> code> test.java
,
But is it due to Mewer or just because Java itself does not support it?
How can I open a Maven project with BTW, eclipse?
A public
class called className
Edit
Although it is not
edit Java language Required, most of Java (if not all) implementation, should have the above mentioned link between the class name and file name, or the result of a compiler error.
(For more information, please see.)
The reason for this can be found by reading.
In the section, it explains how the directory structure can be mapped to a Java, which forwards a requirement for a Ent that is a .class
file containing a class For the byte code, it should remain in the path that meets the name of the fully qualified class.
The original answer that is incorrectly stated that the naming scheme is a requirement that has been edited.
Comments
Post a Comment