0

What is the main class finally? :/

my net beans run project doesnt work. it writes "no main class found" :|

9th Mar 2018, 6:55 PM
‎حسین حسینی‎
‎حسین حسینی‎ - avatar
3 Respuestas
+ 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.
9th Mar 2018, 7:07 PM
Fata1 Err0r
Fata1 Err0r - avatar
+ 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.
9th Mar 2018, 7:08 PM
Fata1 Err0r
Fata1 Err0r - avatar
+ 1
thanks
9th Mar 2018, 7:14 PM
‎حسین حسینی‎
‎حسین حسینی‎ - avatar