[Java in NetBeans] Lesson 08. If: conditional statement
2018-12-14 05:20 Johnson_强生仔仔 阅读(190) 评论(0) 收藏 举报这个课程的参考视频和图片来自youtube。
主要学到的知识点有:
1. If-else statement
if (x > 5) { System.out.println("Input x is bigger than 5. "); } else { System.out.println("Input x is not bigger than 5. "); }
2. Logical operators
- AND &&
- OR ||
- NOT !