整數(shù)類型
byte:0 -- 255
int:-2147483648 -- 2,147,483,647
long:-923,372,036,854,775,808 -- 923,372,036,854,775,807
short:-32,768 -- 32,767
浮點類型
float:-3.4 x 10^38 -- -3.4 x 10^38
double:5.0 x 10-324 -- 1.7 x 10308
非數(shù)值類型
bool:True or False
char:一個Unicode字符,存儲0 -- 65535之間的數(shù)值
string:一組字符