I/O STREAMS
class WriteExample {
public static void main(String args[]) {
int w;
w = 'S';
System.out.write(w);
System.out.write('n');
}
}
Sir, in the above example w is of integer type and we are assigning a value of char type how is it possible i am confused a bit please help me out of this problem
THANKS