SHARE
TWEET

Untitled

a guest Feb 24th, 2020 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class SoftUni {
  2.  
  3.     static void change(int[] numbers ) {
  4.         numbers[0] ++;
  5.     }
  6.     public static void main(String[] args) {
  7.  
  8.       int[] arr = new int[] {1,2,3};
  9.         change(arr);
  10.         System.out.println(arr[2]);
  11.  
  12.  
  13.     }
  14. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top