I am a beginner trying writing a program for a Caesar cipher assignment for class. Currently I am stuck trying to create a function that will do the opposite of the first function, take in an integer array and return a String. I'm completely lost on how to do so at this point and could really really use some help.
public static int[] string(String str) {
    int [] arr = new int [str.length()];
    for (int i = 0; i < str.length(); i++) {   
        str.toUpperCase();
        arr[i] = str.charAt(i)-65;
        // System.out.println(arr[i]);--> check to see if stringTo was working
    }
    return arr;
}
public static String symbol(int[] symbols) { 
    String message = new String();
    char[] letters = new char[symbols.length];
    for (int i = 0; i < symbols.length; i++) {
        symbols[i] = letters[i];
        message.toUpperCase();
        message =  message.toString();
        System.out.print(message);
    }    
    return message; 
}
 
     
     
     
    