sir as you said that all the literals in primitive data type of int,short,long and byte are of integer type so how an literal of integer type can be stored in a short or byte as they both have the size of 2 and 1 bytes respectively
sir as you said that all the literals in primitive data type of int,short,long and byte are of integer type so how an literal of integer type can be stored in a short or byte as they both have the size of 2 and 1 bytes respectively