Source Code :
public class BukuTelepon {
public static void main (String[] args) {
String[][] contact = {
{"John Smith", "03417600611"},
{"Indiana Jones", "02746800432"},
{"Lara Croft", "02854778231"},
{"Shaggy", "021480451"},
{"Nicodemus Legend", "03516768300"},
{"Clark Kent", "0273900911"}
};
for(int i = 0; i < contact.length; i++) {
System.out.println("Nama : " + contact[i][0]);
System.out.println("Telepon : " + contact[i][1]);
System.out.println("-------------------------------");
}
}
}
Outputnya :
Silahkan Copas Gannnn,,,,
Tapi Tolong Jangan Lupa Komentarnya yy gann,,,
0 comments:
:)) :)] ;)) ;;) :D ;) :p :(( :) :( :X =(( :-o :-/ :-* :| 8-} ~x( :-t b-( :-L x( =))
Post a Comment