Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int[] hello = new int[] {1, 2, 3};
- int[] world = new int[] {4, 5, 6};
- int[] zawarudo = new int[hello.length + world.length];
- // SHIEEEET
- int counter = 0;
- for (int j = 0;j < hello.length; j++) {
- zawarudo[counter] = hello[j];
- counter++;
- }
- for (int j = 0;j < world.length; j++) {
- zawarudo[counter] = world[j];
- counter++;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement