Wednesday, August 1, 2018

HOW TO MAKE A PROGRAM USING BLUEJ


Firstly you should have to install BlueJ in your computer or laptop to make and compile a java program. So if u haven't install BlueJ yet then Click here and know the method that how to download and install the BlueJ.

Coming back to our topic, today we will learn about how to make "HELLO WORLD" program using BlueJ step by step. In my opinion this is the simplest one.

Step 1 : Open BlueJ application.
Step 2 : Create your new project.
              If you don't know how to create a project then Click here.
Step 3 : Then select the project from its destination.



Step 4 : Create new class by clicking on 'New Class'.
Step 5 : Then enter class name i.e. 'HelloWorld' and click OK button.


Step 6 : Now open HelloWorld class by double clicking on it and delete all the default commands.


Step 7 : Write a program now. The program that is needed to be written is given below:


Step 8 : Click on Compile. If there is no error then it should be compiled showing "no syntax error".
Step 9 : Close this window and right click on the HelloWorld class and click on void main(String []args) and then OK button.


Step 10 : You will find the result page as shown below;



1 comment: