这是我的代码
public class charDBMain{
public static void main(String[] args) {
charDBNewChar newChar = new charDBNewChar();
System.out.print("Hello?");
newChar.openFile();
newChar.addChar("Skank McGenk", "Eiran", "Wizard", 0);
}
每当我运行它时,都会出现此错误:
Error: Main method not found in class Database.charDBMain, please define the main method as:
public static void main(String[] args)
or a JavaFX application class must extend javafx.application.Application
I have the public static void main(String[] args)
included in the code, what's going wrong?