Skip to main content

Featured

7. Executing our First Java Program in BlueJ | Java Programming | Compiling and Creating java Program @techcomputergyaan Technical Magic

 Executing our First Java Program in BlueJ  We are going to discuss Comments in Java Comments: Text ignored by the compiler To write some notes for future reference To find some errors we can make some statement as comment and can compile the program and in this way we can find errors in the program. Way of writing Comments // for single line comment /* for multiple line comments */ Create our First Project in BlueJ Step 1: To open BlueJ Step 2: Create new project Step 3: Create New Class in Pascal case, I have created HelloJava Step 4: Double click on HelloJava class. A new window in BlueJ with some codes will open. You will see some comments and some codes written over here. So, I am going to delete everything and I will write only codes which is important for our first program. So, here in the above screenshot you can see I have deleted everything except our HelloJava class. Now we will write code for our main() method. Now in the main method we can write our statement. Wri...

6. About Bluej IDE for Java Programming | For Learners | @techcomputergyaan #technicalmagic9

 Bluej IDE


A free Java Development Environment designed for beginners, used by millions worldwide.
Created by King's College London and supported by Oracle.
To know more about Bluej Click Here.
To Download Bluej IDE Click Here.

After installation it will open like-

Here we can create new project and can choose location where to save it.
Then we can create class by clicking on new class.
A window will open
Here we can give class name in Pascal case.
After creating class and on double press on the class a new window will open. This will be our editor where we can write our code inside our class.
After right clicking on the class name in the project window we will see some options

We can compile to find bug. Here we can also click on method() to run and see the output. A default constructor is there about which we will learn later.










Comments