Posted by: _nepali December 16, 2013
Java Help
Login in to Rate this Post:     0       ?        
The file-name should be test2.java (not test.java)
Or you can keep the file-name as test.java and change the class name to "test" from "test2". That is change the code snippet "public class test2" to "public class test".
Read Full Discussion Thread for this article