Guest User

Untitled

a guest
Jun 18th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. public class update {
  2.  
  3.  
  4. int[] test_array = {int i,int i+1};
  5.  
  6. public static int[] update(int [] test_array){
  7.  
  8. for (int i=0;i<test_array.length;i++)
  9. test_array[i] = 2*test_array[i];
  10.  
  11. return update(test_array[i,i+1]);
  12. }
  13.  
  14. }
Add Comment
Please, Sign In to add comment