! : Java Glossary


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:


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

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.

Your face IP:[]
You are visitor number