r/javahelp • u/Lillial • Sep 10 '20
The program im using says this has an illegal static declaration, how do i fix this? It seems alright to me
public class Helloworld {
public static void (String[] args) {
System.out.println("Hello, world");
}
}
0
Upvotes
2
u/kasim_of_all_trades Sep 10 '20
Are you having a laugh ?