The program first-hand, screen print "hello world!"
Create a Project:
- Open NetBean [Download]
- File -> New Project
- Project name
- Click Finish
- Project JavaCore_HelloWorld
- Project code:
package javacore_helloworld;
/**
*
* @author txthanh
*/
public class JavaCore_HelloWorld {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
System.out.println(" Hello World ! ");
}
}
- Output
Hello World !
No comments:
Post a Comment