1
public class IntegerDemo
2

{
3
public IntegerDemo()
{}
4
public static void main(String[] agrs)
5
{
6
Integer[] Integerarray=
{new Integer(20),new Integer(40),new Integer("110")};
7
for(int i=0;i<Integerarray.length;i++)
8
{
9
System.out.print(Integer.toBinaryString(Integerarray[i].intValue())+"\t");
10
System.out.print(Integer.toHexString(Integerarray[i].intValue())+"\t");
11
System.out.print(Integer.toOctalString(Integerarray[i].intValue())+"\t");
12
System.out.print(Integerarray[i]+"\r\n");
13
}
14
}
15
}

2



3



4

5



6



7

8



9

10

11

12

13

14

15
