Skip to main content

Posts

Showing posts with the label JVM

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...

3. Introduction to Java Programming | Java Programming Language @techcomputergyaan