jump to navigation

Array Multidimensi January 5, 2012

Posted by kelompok24itbseamolecb5 in Pemrograman Java.

Contoh Array Multidimensi:

Ketik Code d bawah ini:

public class ArrayNegaraKota {
public static void main(String[] args) {
{“Teheran”,”Bekasi”,”Jakarta”,”Bantar Gebang”,”Tokyo”}

System.out.println(“Ibukota “+ibukota[0][4]+ ” adalah “+ibukota[1][2]);
System.out.println(“Ibukota “+ibukota[0][2]+ ” adalah “+ibukota[1][4]);
System.out.println(“Ibukota “+ibukota[0][5]+ ” adalah “+ibukota[1][0]);


Run Project untuk melihat hasil nya…..



No comments yet — be the first.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: