0
What is the main class finally? :/
my net beans run project doesnt work. it writes "no main class found" :|
3 Antworten
+ 2
The main loop (class) is your entry point into the program. When you double click and open up an app, you're starting its main loop and that's where it'll do everything from. Basically, you're opening a loop in the Operating System as a program, and that loop will continue until you break the loop (close the program).
If you don't have a main loop in your program, you don't have an entry point to start the program.
+ 1
As Ace said, if you have a main loop but you're getting that issue, then check its syntax and go check out the link he provided.
If you simply don't have one at all, you'll want to add one.
+ 1
thanks