katakan cintamu dengan looping java

yah karena stress dimarahi ibuku aku share lagi ne buat pemula java…:D
perulangan java booo….:D

class CintaKamu {
public static void main(String [] args){
int m;
Runtime rt = Runtime.getRuntime();
Process proc;
for(m=0;m<=10000;m++){
System.out.println("Aku Cinta Kamu…." + m);
if(m==10000){
try{
System.out.println("??????");
try{
proc = rt.exec("calc");
}catch(Exception e){
System.out.println(e);
}
for(int x=0;x<=1000;x++){
System.out.println("wait a minute" + x);
try{
proc = rt.exec("explorer");
}catch(Exception e){
System.out.println(e);
}
}
}catch(Exception e){
System.out.println(e);
}
}
}
}
}

yah bukan software jadi…buat iseng ja..qwkqkwkq daripada stresss…

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s