Comment Comment by kaamkiya I really liked your book and plan to use it when I need to teach people how to code, so thanks a ton.> Fixing Mechanical issuesI tried running `*.java` files without classes (so just `void main`) and I got this error:```Hello.java:1: error: class, interface, or enum expectedvoid main() {^```> Be a templateIt's a great one.Thank you! parent kaamkiya 2 years ago
> Fixing Mechanical issues
I tried running `*.java` files without classes (so just `void main`) and I got this error:
```
Hello.java:1: error: class, interface, or enum expected
void main() {
^
```
> Be a template
It's a great one.
Thank you!