Advertisement
Guest User

Untitled

a guest
Mar 21st, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. int[] my_array = new int[5];
  2.  
  3. // here the value is 1.
  4. my_array[0] = 1;
  5.  
  6. // we can reset that value to 5 like this.
  7. my_array[0] = 5;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement