逻辑运算符
摘要:1. && 短路与 表达式1 && 表达式2 01.表达式1为true并且表达式2也为true 整体返回为true 02.表达式1为false,将不会执行表达式2 整体返回为false 03.只要有一个表达式为false 整体返回为false 2. || 短路或 表达式1 || 表达式2 01.两个
阅读全文
posted @ 2017-11-15 21:28
posted @ 2017-11-15 21:28
posted @ 2017-11-14 21:10
posted @ 2017-11-12 21:38
posted @ 2017-11-10 18:50