public class TypeCast {
public static void main(String[] args){
byte b=1;
int i=b;
float f=b;
double d=b;
char ch='c';
int i2=ch;
System.out.println("i2:"+i2);
short s=99;
char c=(char)s;
System.out.println("c:"+c);
byte b1=(byte)129;
System.out.println("b1:"+b1);
}
}