- double click on the BlueJ icon to launch BlueJ
- click on Project and open a new project
- enter a file name for your project (maybe call it "Project 1")
- BlueJ window should now be open
- click on New Class to create a new class
- enter "Hello"
- double click on the Hello box in BlueJ
- you should now see the code for Hello
- replace all the code in this window with what i showed in class.
- hit the compile button
- return to the main BlueJ window, right mouse click on the Hello box and select main()
- when it asks for args, just hit OK
- you should see Hello World printed on the console window
I promise to go over this in class step by step tomorrow as well.
Mr. Sarkar
No comments:
Post a Comment