decrement : Java Glossary


-- is the Java decrement operator. There are two decrement operators, integer and floating point, though the floating point version is rarely used. They both use the same -- operator. Integer decrement works on byte, char, short, int and long and always results in an integer, i.e. no fraction. If the results of decrementing is ints is too large a negative number fit in an int, it wraps around to a postive number Integer. MAX_VALUE without

This page is posted
on the web at:

Optional Replicator mirror
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