public class TableOfBases {
public static void main(String[] args) {
for(int j = 65; j <= 90; j++){
String bin = Integer.toBinaryString(j);
String oct = Integer.toOctalString(j);
String hex = Integer.toHexString(j);
String let = Character.toString(j);
System.out.print(j+" "+bin+" "+oct+" "+hex+"");
System.out.println(" "+let);
}
}
}
I think this is what you're looking for. Best of luck.