I am learning java and I decided to convert my bool quiz game that I made in c#, in java. It is almost done, but it says this error:
javac -classpath .:/run_dir/junit-4.12.jar:target/dependency/* -d . Main.java
java -classpath .:/run_dir/junit-4.12.jar:target/dependency/* Main
Error: Main method not found in class Main, please define the main method as:
public static void main(String args)
or a JavaFX application class must extend javafx.application.Application
please help me fix it.
the full code is