Does BlueJ not require a main() method? [closed]

BlueJ is a development environment which is a deliberately smaller and simpler interface than professional environments like NetBeans or Eclipse. This allows beginners to get started more quickly and hence doesnt force you to write the main() instead it does it for you in the background

https://www.cs.utexas.edu/users/scottm/cs307/handouts/BlueJProjectInstructions.html

Where as Netbeans and Eclipse mandate that you type code manually rather than use a drag and drop approach which is there in BlueJ.

Having said that public static void main(String[] arg){...} is the starting point for a standard standalone program.

Leave a Comment