First Java Program

Hello World: How to Create Your First Java Program

This video will help you code your first Java program.

Click here if the video is not accessible 

Steps to Compile and Run first Java program

Step 1) Open Notepad from Start menu by selecting Programs > Accessories > Notepad.

Step 5) If you look in your working folder, you can see that a file named A.class has been created.

Note: Java is case sensitive Programming language. All code, commands, and file names should is used in consistent casing. FirstProgram is not same as firstprogram.

Step 7) If you copy and paste the same code in IDE like Eclipse the compiling and execution is done with the click of a button Using IDE is convenient and improves your efficiency but since you are learning Java, we recommend you stick to notepad.

top
X
Welcome to Our Website
Welcome to WPBot
wpChatIcon