@@ -0,0 +1,1181 @@
+import java.io.BufferedReader;%0Aimport java.io.File;%0Aimport java.io.FileReader;%0Aimport java.util.Iterator;%0Aimport java.util.LinkedList;%0A%0Aclass ColumnNames%0A%7B%0A    public static void main(String%5B%5D args) throws Exception%0A    %7B%0A        File file = new File(args%5B0%5D);%0A        BufferedReader in = new BufferedReader(new FileReader(file));%0A        String line;%0A%0A        while ((line = in.readLine()) != null) %7B%0A            int number = Integer.parseInt(line.trim());%0A            System.out.println(convertToExcelColumnName(number));%0A        %7D%0A%0A        in.close();%0A    %7D%0A%0A    private static final int OFFSET = (int) 'A';%0A%0A    private static String convertToExcelColumnName(int number)%0A    %7B%0A        number--;%0A        LinkedList%3CCharacter%3E result = new LinkedList%3C%3E();%0A%0A        while (number %3E= 0) %7B%0A            int quotient = number / 26;%0A            int remainder = number %25 26;%0A            result.add((char) (OFFSET + remainder));%0A            number = quotient - 1;%0A        %7D%0A%0A        StringBuilder sb = new StringBuilder();%0A%0A        Iterator it = result.descendingIterator();%0A        while(it.hasNext())%7B%0A            sb.append(it.next());%0A        %7D%0A%0A        return sb.toString();%0A    %7D%0A%7D%0A

Add Java solution to the column names problem