Biyernes, Enero 6, 2017

First Java Program (Hello World)

To write your first Java Programming you need to know the basic of programming.
The usual program that beginners need to know is the Hello World program.

What ever IDE(Integrated Development Kit) are you using the important thing is that you can get the exact output. If you are using Eclipse IDE or NetBeans IDE the steps is still the same.

 Step 1: Open the IDE that you preferred to use.
 Step 2: Click on File  New Project ⇒ Java Application then name your project
 For me I'll name my filecapture If you check the checkbox for Create Main Class then escape step 3
 Step 3: Right Click on your project and choose ⇒ New ⇒ Class choose your preferred name 
Step 4: After that, put this line of code between the brackets of the main method like this:
  public static void main(String[] args) {
System.out.println("Hello World");
 
And then run it!!
 Step 5: click on this!
  play
 then you can see the output at the bottom ..

 I hope you understand it and you made your first Java program!! Congrats..  
Wait on my next post. thanks.

Walang komento:

Mag-post ng isang Komento