! : 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
Canadian Mind Products
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.

IP:[65.110.21.43]
Your face IP:[3.142.197.212]
You are visitor number