I would like this array to print without the brackets when it is called by the main method.
public static void main(String[] args) {    
    int [] temps = {15, 43, 23, 20}; 
    System.out.print(Arrays.toString(arrayIncrease(temps)));
}
public static int[] arrayIncrease (int[] array) {
    int [] tempsUp = new int[array.length];    
    for (int i = 0; i < array.length; i++)     
        tempsUp[i] = array[i] + 10; 
    return tempsUp; 
}
Current output
[25, 53, 33, 30]
 
     
     
     
    