learning java programming language is all about your time devoted to it
dertermination surely help a lot.
and I bring this one not because of upvote but I want others to learn from this community (steemit)
under this post there is a startup code you can use to test run yours
starting coding enjoy the merriment of #coding
Download NetBeans by visiting http://www.netbeans.org.
Install the downloaded NetBeans program on your computer.
Run NetBeans by clicking the NetBeans icon.
You see the NetBeans 5.5 opening screen.
The New Project dialog appears.
The New Java Application dialog appears.
3
Unless you’re fussy, you can accept whatever defaults you see in the Project Name, Project Location, and Project Folder fields. Leave Set as Main Project checked. But in this example, you should uncheck Create Main Class.
Click Finish.
A new project tree appears in the NetBeans Projects window.
4
On a Macintosh, substitute Ctrl-Click for right-click.
The New Java Class dialog appears.
5
In this example, I type MyFirstJavaClass, because I intend to run the code in Listing 3-1. The name of the Java source file is MyFirstJavaClass.java, but in the Class Name field, I type MyFirstJavaClass, without the .java extension.
The new class appears in the Projects window. Some skeletal code for the new class appears in the editor.
6
On the main NetBeans menu, choose File → Save.
In the NetBeans Projects window, right-click the current project branch. In the resulting context menu, select Set Main Project.
On a Macintosh, substitute Ctrl-Click for right-click.
7
The output window shows a successful compilation.
If the compilation isn’t successful, make changes to the code in the editor window, and try compiling again.
(On a Macintosh, substitute Ctrl-Click for right-click.) The Project Properties dialog appears.
8
The fields on the right side change to include Main Class, Arguments, and so on.
9
In this example, I type MyFirstJavaClass, because I intend to run the code in Listing 3-1. The name of the Java source file is MyFirstJavaClass.java, but in the Main Class field, I type MyFirstJavaClass, without the .java extension.
Click OK to dismiss the Project Properties dialog.
On the main NetBeans menu, choose Run → Run Main Project.
The program’s output appears in the NetBeans Output window, and everybody is happy.
10
NetBeans 4.1
Download NetBeans by visiting http://www.netbeans.org.
Install the downloaded NetBeans program on your computer.
Run NetBeans by clicking the NetBeans icon.
You see the NetBeans 4.1 opening screen.
The New Project dialog appears.
In the Categories pane, select General, and in the Projects pane, select Java Application.
Click Next.
The New Java Application dialog appears.
12
Unless you’re fussy, you can accept whatever defaults you see in the Project Name, Project Location, and Project Folder fields. Leave Set as Main Project checked. But in this example, you should uncheck Create Main Class.
Click Finish.
A new project tree appears in the NetBeans Projects window.
13
On a Macintosh, substitute Ctrl-Click for right-click.
The New Java Class dialog appears.
14
In this example, I type MyFirstJavaClass, because I intend to run the code in Listing 3-1. The name of the Java source file is MyFirstJavaClass.java, but in the Class Name field, I type MyFirstJavaClass, without the .java extension.
The new class appears in the Projects window. Some skeletal code for the new class appears in the editor.
15
On the main NetBeans menu, choose File → Save.
In the NetBeans Projects window, right-click the current project branch. In the resulting context menu, select Set Main Project.
On a Macintosh, substitute Ctrl-Click for right-click.
The output window shows a successful compilation.
If the compilation isn’t successful, make changes to the code in the editor window, and try compiling again.
(On a Macintosh, substitute Ctrl-Click for right-click.) The Project Properties dialog appears.
17
The fields on the right side change to include Main Class, Arguments, and so on.
In the Main Class field, type the name of the class that contains the main method.
In this example, I type MyFirstJavaClass, because I intend to run the code in Listing 3-1. The name of the Java source file is MyFirstJavaClass.java, but in the Main Class field, I type MyFirstJavaClass, without the .java extension.
Click OK to dismiss the Project Properties dialog.
On the main NetBeans menu, choose Run → Run Main Project.
The program’s output appears in the NetBeans Output window, and everybody is happy.
ok get the first codes on java
/*
* helloword.java
*display hello word!!! to the output window
*
*/
public class hello world // class definition header
{
public static void main (string[]args)
{
system.out.println("hello world!!!"); //print text
}// end class helloword