Why do I have to call the main program main. The name of the file is GraphisRunner and it contains the main class and other methods. It works fine in Eclipse.
The file name HAS to be the class name. Also, you need brackets defining your class.
Why does main have to be a file called Main.java
Why do I have to call the main program main. The name of the file is GraphisRunner and it contains the main class and other methods. It works fine in Eclipse.
The file name HAS to be the class name.
Also, you need brackets defining your class.