Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on A book that teaches how to code in modern Java. Parent comment
> 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!
I'm not really putting too much effort to call attention to that rn, i'd rather wait
> 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!