Advertisement
Guest User

Untitled

a guest
Jul 2nd, 2016
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1.  
  2. public class nowaKlasa {
  3.  
  4.  
  5. public static void main(String[] args) {
  6. int tablica[] = new int[10];
  7.  
  8. for(int i = 0; i<10; i++)
  9. tablica[i] = i + 1;
  10.  
  11. int zmienna = tablica[9]; // <---------------------- CO TO ROBI?????
  12. for (int i = 0; i < 10; i++)
  13. System.out.println("Kolejna komorka to: " +tablica[i]);
  14.  
  15.  
  16. }
  17.  
  18.  
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement