When I used the BlueJ IDE, I was able to run programs without using a main() method, whereas when I try the same code in NetBeans it says that the program doesn't have a main() method.
Does BlueJ not require a main() method?
3.9k Views Asked by ek4633 At
1
There are 1 best solutions below
Related Questions in JAVA
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in PROGRAM-ENTRY-POINT
- Passing arguments to main in C using Eclipse
- ASP.net main thread block during long running process
- Launch multiple java applications from one java application
- How to handle empty parameters in a main method java call
- Main Menu choice prompt is gathered even on sub Function scanf (C)
- python doesn't update int in main method
- is return main(); a valid syntax?
- execute method in cmd without main function
- Pass void* type to main() function
- Fatal Exception Main Android Null Pointer Exception
- Is there any difference between String... args and String[] args in Java?
- Why does using char agrv instead of char **argv as the argument of main cause the following output?
- Class is public, should be declared in a file named .java
- loop into a variable
- Should I test for nullity of values in the args array of Main
Related Questions in BLUEJ
- How do I create a 2D Array of images that are randomly distributed on the array?
- Does BlueJ not require a main() method?
- Im trying to display the price and quantity of some items with arrays on Java but I just can't make it display numbers with decimals
- Search function to database in sqlite isn't working on Java project from javafx?
- BlueJ Image Not Found
- Bluej/Java loop?
- How to have th enter key repeat the action of a click of a button?
- Java Abstract Error and also need to create a line graph
- Creating a line graph with user input
- How do I exit my program without using return and System.exit()?
- BlueJ how to get data from an array so that it can be compared with user input
- Arrays in a Rock, Paper, Scissors game in bluej
- Applet shows up blank, not initializing?
- Method that takes user input
- Blue J, my listMembers method is not printing off the correct data from my Array List
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
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.