! : 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:

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
Your face IP:[]
You are visitor number