Advertisement
Guest User

Untitled

a guest
Oct 4th, 2015
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. package com.company;
  2.  
  3. /**
  4. * Created by Stas on 04.10.2015.
  5. */
  6. public class ArrayManipulations {
  7. private int[] array;
  8. ArrayManipulations(int[] array) {
  9. this.array = array;
  10. }
  11.  
  12. public void printArr() {
  13. for (int i = 0; i < array.length; i++) {
  14. System.out.print(array[i] + " ");
  15. }
  16.  
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement