Comment on Anon tries programming in Java

<- View Parent
PanArab@lemm.ee ⁨1⁩ ⁨week⁩ ago

Main method is not public static

It must be somewhere under the hood. Otherwise, it wont be callable and it would require an instance of an object to call. Unless the object here is the Java environment?

No String[] args

They are just optional I’m sure, like C and C++. You still need them to read command line arguments.

source
Sort:hotnewtop