commit | 58a3ac3683b229cf9eac8e0a87335808e753a3d7 | [log] [tgz] |
---|---|---|
author | Yannick Rehberger <yr@ityreh.de> | Wed May 06 15:34:19 2020 +0200 |
committer | GitHub <noreply@github.com> | Wed May 06 15:34:19 2020 +0200 |
tree | 86d0140759226ed223d9ff279275eb378622c708 | |
parent | 58d1bb0f4ea77b21ce84bccb404502270c46b5f6 [diff] |
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.