write() method's general form

```
void write(int value)

```

it takes an int value as parameter but prints out a character without casting 

```
int b;
b='A';
System.out.write(b);

```

can anyone explain how write method does that??