Latihan Pertama : Menampilkan Nama dan Alamat

Source Code :

 package javaapplication1;  
 /**  
  *  
  * @author Asus  
  */  
 public class JavaApplication1 {  
   /**  
    * @param args the command line arguments  
    */  
   public static void main(String[] args) {  
         System.out.println("Nama : Bastoni Yahya");  
     System.out.println("Alamat : Baturaja, Sumatera Selatan");  
     // TODO code application logic here  
   }  
 }  

Hasil:

 run:  
 Nama : Bastoni Yahya  
 Alamat : Baturaja, Sumatera Selatan  
 BUILD SUCCESSFUL (total time: 0 seconds)  

Posting Komentar