Hi Sandeep,
1. byte b=1;
b= b+1;
//In this case b implicitly converted into int
//and the result of right side calculation is
//int. That's why you'll get an error. You can
//do following
b= (byte)(b+1);
b+=1
// In this case
Java does conversion to int.
That's all.
2. '\u000A' is a "carriage return" in java. You
cannot use '\u000D' as well. Please search
forums, in this site, youl get a lot of topics
devoted this.
Thanx,
Jam