Hi All,
I try this code but I can't get it to work.
please help.
GRTZ,
René
public class ArrayTest {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// Declare and create new int array whose size is 10
int[] ages = new int[10];
int j = 100;
int count = 0;
// Display the values of each entry in the array
while (count<ages.length){
System.out.println(ages[j] );
count++;
j++;
}
}
}
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/javaprogrammingwithpassion?hl=en