Boolean is a 'true or false' logic in programming - if you define a function as a Boolean function, the only inputs it can have are true or false, and the output will vary dependant on the input
not shouldn't be used
A boolean function is a function that only works with values that can only have two values, often called "true" and "false", or alternately, "1" and "0".
One use of Boolean algebra is to minimize any function or logic gate.
Its used ti help us find dicunents quickly
what is boolean operator
Boolean is a type, not an operator and can have the value of either TRUE or FALSE
NOT
A Boolean operator is any operator that returns true or false. False is typically denoted by the integer value 0 while all non-zero values equate to true. The less-than operator (<) is an example of a Boolean operator.
BUT (apex)
A variation of the AND NOT Boolean operator is the "NOR" operator, which returns true only if both operands are false.
The ! (boolean invert) operator returns the opposite of a boolean's current value: if(!(7 5," and the statement produces this output: not equal
And, or, not, xor, nand, nor. There are a few others, too.
and
Boolean is a 'true or false' logic in programming - if you define a function as a Boolean function, the only inputs it can have are true or false, and the output will vary dependant on the input
not shouldn't be used
The logic operator provides boolean results of combinations of other boolean expression, some of which might be relational expressions. For example... bool result = (a < 3) && (b > 4); The bitwise operator provides the same kind of boolean logic, AND, OR, and NOT, but it does it to the correspondingly ranks bits in one or two integers. For example ... int result = (a & 0xff) | (!b);