DEV Community

Discussion on: Why won't Eclipse run my program? (Possibly the unresolved error from before).

Collapse
 
gfvolpin profile image
Guille Volpintesta

The correct declaration for main() method is always :

public static void main(String[] arg) {
}

Collapse
 
baenencalin profile image
Calin Baenen

I know that. That's what I did.