Minggu, 27 September 2009

JAVA = CONTINUE

public class Continue {
public static void main(String[] args)
{
String names[] = {"Jacko", "Michael", "Jackson", "Jacko"};
int count = 0;
for( int i=0; iif( !names[i].equals("Jacko") ){
continue;
}
count++;
}
System.out.println("There are " + count + " Jacko in the list");
}
}


OUTPUT ::

0 komentar:

Posting Komentar