**定义:**8种基本数据类型不能当成Object类型变量使用
基本数据类型 | 包装类 |
---|---|
byte | Byte |
short | Short |
int | Integer |
long | Long |
Char | Character |
float | Float |
double | Double |
boolean | Boolean |
**定义:**8种基本数据类型不能当成Object类型变量使用
基本数据类型 | 包装类 |
---|---|
byte | Byte |
short | Short |
int | Integer |
long | Long |
Char | Character |
float | Float |
double | Double |
boolean | Boolean |