Guest User

Untitled

a guest
Oct 17th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. public String[] concat(String[] a, String[] b) {
  2. int aLen = a.length;
  3. int bLen = b.length;
  4. String[] c= new String[aLen+bLen];
  5. System.arraycopy(a, 0, c, 0, aLen);
  6. System.arraycopy(b, 0, c, aLen, bLen);
  7. return c;
  8. }
Add Comment
Please, Sign In to add comment