Advertisement
zihadrizkyef

ujian-Array7Hari

Jun 23rd, 2016
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.46 KB | None | 0 0
  1. /*
  2.  * To change this license header, choose License Headers in Project Properties.
  3.  * To change this template file, choose Tools | Templates
  4.  * and open the template in the editor.
  5.  */
  6.  
  7. /**
  8.  *
  9.  * @author zihadrizkyef
  10.  */
  11. public class Ujian_Array7Hari {
  12.     public static void main(String[] args) {
  13.         String hari[] = {"Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu", "Minggu"};
  14.         for(String day : hari) System.out.println(day);
  15.     }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement