Classname does not match the Filename.

If you try to run this example you will get a compilation error "class Sample is public, should be declared in a file named Sample.java". To solve this and to be consistent to the other language examples, the class should be renamed to Example.
1 file changed