SHARE
TWEET

Untitled

a guest May 19th, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. array = push(array, item);
  2.  
  3. private static String[] push(String[] array, String push) {
  4.         String[] longer = new String[array.length + 1];
  5.         for (int i = 0; i < array.length; i++)
  6.             longer[i] = array[i];
  7.         longer[array.length] = push;
  8.         return longer;
  9.     }
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