java boolean

About Boolean data type:
boolean
in java language among boolean type has only two values: true, flase, no other value.
Unlike the C language among 0 and 1 may represent false and true.
In the underlying storage when a boolean 1 byte because when the false bottom is actually stored is 0,
to true is an underlayer.
Boolean type is very important in practice in development, often used in logical operations and conditional control statements which.

Guess you like

Origin www.cnblogs.com/zhuojinyong/p/11605612.html