fork download
  1. class Test {
  2. public static void main(String[] args) {
  3. int[] arr= new int[]{1, 3, 8, 2, 5, 9};
  4. for(int i:arr){
  5. System.out.println(i);
  6. }
  7. }
  8. }
Success #stdin #stdout 0.06s 380160KB
stdin
Standard input is empty
stdout
1
3
8
2
5
9