code-dm / Re-learning-Java

Re-learning Java、Java Base
https://codedm.com
1 stars 0 forks source link

Java基础 - 执行流程控制 #5

Open code-dm opened 2 years ago

code-dm commented 2 years ago

基本运算符和流程控制可以合并成一篇文章

code-dm commented 2 years ago

基本运算符:

  1. 数学运算符
  2. 递增和递减运算符
  3. 比较运算符
  4. 逻辑运算符 & | && ||
  5. 三元运算符
code-dm commented 2 years ago

流程控制

code-dm commented 2 years ago

& 和 && 区别

https://stackoverflow.com/questions/7199666/difference-between-and-in-java

https://www.tutorialspoint.com/Differences-between-and-and-and-and-operators-in-Java