! : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

!
Performs a logical negation on booleans. Every true becomes false and false becomes true;

The ! character is created by hitting shift-1. It can be hard to tell apart from Il1| in some fonts.

! truefalse

! falsetrue

For bitwise negation operations on ints use the ~ operator instead.


This page is posted
on the web at:

http://mindprod.com/jgloss/booleannotoperator.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\booleannotoperator.html
logo
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.
no blog for this page
IP:[65.110.21.43]
Your face IP:[54.82.116.210]
You are visitor number