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