Advertisement
Guest User

ArrayUse

a guest
Jan 18th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1.  
  2. public class ArrayUse
  3. {
  4. public static void main(String[] args)
  5. {
  6. // int[] myArray = {1,3,4,10,-3};
  7. int x=1;
  8. // create an array and print it
  9. int[] array = ArrayUtils.createArray(100);
  10. int [] arr6= ArrayUtils.createArray(x);
  11. ArrayUtils.printArray(array);
  12. ArrayUtils.printArray(arr6);
  13. ArrayUtils.fillarray(arr6);
  14.  
  15. }
  16.  
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement