Programming - Operators - Discussion

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

 



Q.

The __________ operator takes a single bit and inverts the level of that bit pattern and can be applied to any of the integral types.                         


A. Unary complement B. bitwise complement
C. unary bitwise complement ("~") D. all the above

Answer: Option C
Explaination:

 


The Unary bitwise complement("~ ") operator takes a single bit and inverts the level of that bit pattern and can be applied to any of the integral types.




Discussion

Your Comments Goes here...
NameDiscussion