Posted by: cowgirl1996 December 16, 2013
Java Help
Login in to Rate this Post:     0       ?        
When I run test2 it gives me the follow error:
run:
java.lang.ExceptionInInitializerError
Caused by: java.lang.RuntimeException: Uncompilable source code - class test2 is public, should be declared in a file named test2.java
at test2.<clinit>(test.java:79)
Exception in thread "main" Java Result: 1
BUILD SUCCESSFUL (total time: 1 second)

This is where it is supposed to reverse the output.
Read Full Discussion Thread for this article