You can simplify this function as follows, such that you don't declare unnecessary variables.
private static String makeStr(int num) {
String s1 = String.valueOf((char)('a' + num / 26));
String s2 = String.valueOf((char)('a' + num % 26));
return s1 + s2;
}