Memasukan Code ke Project di NetBeans

From OnnoWiki
Revision as of 18:06, 10 May 2010 by Onnowpurbo (talk | contribs) (→‎Pranala Menarik)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

NetBeans sudah membuatkan kerangka untuk program yang akan kita buat.

Sesudah kalimat

// TODO code application logic here

Masukan kalimat

System.out.println("Hello World!");

Seperti tampak pada gambar

Netbeansinsert1.jpeg

Hasil lengkapnya adalah sebagai berikut

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package javaapplication1;
/**
 *
 * @author onno
 */
public class Main {
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
         System.out.println("Hello World!");
    }
}





Pranala Menarik