布尔数据类型

boolean:值为true或false
赋值:
 Boolean 变量名=true或false或 表达式;

原文地址:https://www.cnblogs.com/shengzhicai/p/6866818.html