Listing Program Java Seleksi Menggunakan Switch

class kswitch
{
public static void main (String[]args) {
int kode=2;
switch(kode)
{
case 1:
System.out.println("inggris");
break;
case 2:
System.out.println("Perancis");
break;
default:
System.out.println("italia");
break;
}
}
}
Previous
Next Post »