Programming - Operators - Discussion

You Are Here :: Home > JAVA > Operators - Discussion

 



Q.

_________________ checks the boolean status of a current operand or expression and reverses the value of a boolean expression                         


A. NOT(!) B. logical NOT
C. both a and b D. none

Answer: Option A
Explaination:

 


checks the boolean status of a current operand or expression and reverses the value of a boolean expression i.e. if the current value of an operand or expression is true then it reverses as false; but if the value of an operand or expression is false then it reverses as true.




Discussion

Your Comments Goes here...
NameDiscussion