I was running a Java class that extends Applet implements Runnable and apparently the program can run, but there is no main method. I thought Java
Copied from google results:
Applets are standalone programs which require a third party tool for its execution that is either it is java enabled web browser or applet runner. So it doesn't have main(). It is possible to run a program without main.
Possible duplicate of:
Why do applets not need a main()?