Advertisement
CuteDogAteMineFrog

zadanie 24

Jan 25th, 2020
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. /*
  2. * To change this license header, choose License Headers in Project Properties.
  3. * To change this template file, choose Tools | Templates
  4. * and open the template in the editor.
  5. */
  6. package com.kurs_java;
  7.  
  8. import java.util.Arrays;
  9.  
  10. /**
  11. *
  12. * @author Jakub
  13. */
  14. public class zadanie24 {
  15. public static void main(String[] args){
  16. int[] tablica;
  17. tablica = new int[1000];
  18.  
  19. for(int a = 0; a<tablica.length; a++ ){
  20. tablica[a] = a+1 ;
  21.  
  22. }
  23.  
  24. System.out.println(Arrays.toString(tablica));
  25. }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement