I need help with these 4 Java codes. I can’t solve them. Icannot have any imports so I don’t know how to solve it.
Given an int and an array of two ints, return an array of 3 ints sorted in value order. <br> <br> sort3Ints(5, {3, 7}) -> {3, 5, 7} <br> sort3Ints(7, {5, 3}) -> {3, 5, 7} <br>
OR
OR