//It is ok to assign a literal int value to a narrower primitive type (byte, short, or char)
//Literal value falls within the legal range of the primitive type.
publicclass MainClass{
publicstaticvoid main(String[] argv){
byte b = 1;
short s = 2;
char c = 3;
}
}