import java.util.*;
import java.lang.*;
import java.io.*;

// The main method must be in a class named "Main".
class Main {
    public static void main(String[] args) {
        int[] array1 = new int[] {1, 2};
        int[] array2 = new int[] {3, 4, 5};
        for(int i : mergeArrays(array1, array2)){
            System.out.print(i + " ");
        }
    }
    
    private static int[] mergeArrays(int[] array1, int[] array2){
        // TODO
        return new int[]{1,2,3};
        // TODO
    }
    
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: