ariestamirra

aksesArray

Apr 8th, 2014
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.22 KB | None | 0 0
  1. public class aksesArray {
  2.  
  3.     public static void main(String[] args) {
  4.         int x[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
  5.         for (int i : x) {
  6.             System.out.println("Count is: " + i);
  7.         }
  8.     }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment