Programming architecture (01): Fundamentals of Java programming
•
Java
1、 Data type
1. Foundation type
整型:byte 、short 、int 、long
浮点型:float、double
字节型:char
2. Packaging type
Byte,Short,Integer,Long
Float,Double
Character
3. String character
常用方法
StringBuilder、StringBuffer
4. Type conversion
自动转换:范围小类型->范围大类型
强制转换:范围大类型->范围小类型
2、 Process control
1. Branch statement
if 语句
else...if 语句
switch 语句
for 循环
while 循环
2. Branch judgment
true 和 false
3. Process interruption
return 关键字
continue 关键字
break 关键字
4. Basic algorithm
冒泡排序
排列组合
递归
3、 Array
初始化
数据与集合容器区别
底层数据结构
4、 Operator
1. Arithmetic operation
加减乘除 、优先级
取余、四舍五入、100%补偿
2. Relational operation
大于、小于、大于等于、小于等于、不等于
3. Assignment operation
等号赋值
自动加加、自动减减
4. Shift operation
左移位、右移位
5. Logical operation
与、或、非
运算流程到条件整体成立
Overall structure
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码