2-3-01变量与基本数据类型
一、变量
变量分类:
二、数据类型
1
类型 |
占用内 |
值范围(含边界值) |
默认值 |
|
|
|
存 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
三、标识符
示例:
四、类型转换
自动类型转换:
强制类型转换:
五、关键字大全
本文来自博客园,作者:所遇所思,转载请注明原文链接:https://www.cnblogs.com/mynxg/p/14397462.html