+ 1

How does BlueJ support codes executing without main function

I generally use BlueJ for coding in java and it has got a special feature which allows us to write programs without main function and execute them. Can u please explain how it actually works and why it has been designed such

23rd May 2019, 8:55 AM
Ayush Pandey
Ayush Pandey - avatar
1 Resposta
+ 1
If you run the BlueJ application, there is main(), it is hidden for the user. When the BlueJ application is running, it can call user methods from user classes, you don't need another main (). BlueJ is designed to education and simplify coding for minimal visual contact with complicated code details, many unanswered questions at the beginning of learn coding can discourage beginners.
24th May 2019, 6:46 PM
zemiak