Question: I want to convert the integer into char.

Example:-

```
char c;
for(int i=0;i<10;i++){
    system.out.println(" char==="+c);
} 

```

I want to print the c as 0,1,2,3,4.....
I had tried :-

```
c=(char)i; --gives error
c=97-i; -----gives a,b,c

```

Answer: 
Use wrapper classes.

```
c = new Integer(i).toString().charAt(0);

```

by the way, you can also use this :

```
c = (char)(i + 48);

```
`Character.forDigit()`

<http://download.oracle.com/javase/6/docs/api/java/lang/Character.html>