1. Terlebih dahulu buka Netbeans pilih Menu File -> New Project.
2. Pilih kategori project Java dan Java Application, lalu Next
3. Project Name : Program1, lalu centang Create Main Class : helloWorld.Program1
helloWorld : Main Class Program1 : Java Class |
- package helloWorld;
- /**
- *
- * @author yani-pc
- */
- public class Program1 {
- /**
- * @param args the command line arguments
- */
- public static void main(String[] args) {
- // TODO code application logic here
- System.out.println("Hello World !");
- }
- }
Hope this was hepful.
Next Lesson #2
No comments:
Post a Comment