Integer and talk about the difference between the interview -int

 

The basic answer

int eight basic data types (boolean, byte, short, char, int, float, double, long) of one of the plastic type, size occupies 4 bytes, the range is 32 (4 * 8) of plus or minus 2 power, Java, despite his supposedly everything is an object, but the basic data type is the exception

 

 

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/jisuanjizhuangye/p/11723640.html