22
4
1
u/WasserTyp69 Jan 03 '21
everywhere
module-info.java? The file should be named "Main.java", if you're just starting to learn Java (I'm pretty sure you are), you can ignore these info classes
You're missing a '(' in the main function
1
u/pand_loves_cookies Jan 11 '21
I am no clue how to work eclipse
1
u/WasserTyp69 Jan 11 '21
Doesn't have much to do with the IDE
1
u/pand_loves_cookies Jan 26 '21
What is ide
1
u/WasserTyp69 Jan 26 '21
oh god.
IDE = Integrated Development Environment. Basically a program that contains a code editor, compiler, debugger and other tools needed for developing software. In your case that is Eclipse.
1
1
u/Bewatermyfriend5 Jan 03 '21
The file name and class name of a public class should be identical in java.
That is the file name should be `Main.java` in this case.
Other alternative is to use just `class Main` .
7
u/pand_loves_cookies Jan 02 '21
I would ask my dad who codes for a living but he is napping