3.1. Binary Overview

If you have a good understanding of binary numbers, you can safely skip this section. You may want to take a look at the example program at the end of this section, however. This section offers an overview (or quick refresher if it's been a while) of binary numbers. This is important in Java because of memory management and conversions between types.

Common communications regarding numbers use a base 10 number system, likely because we generally have 10 fingers and 10 toes on which to count. Computers currently store data in terms of binary numbers. The reason for this is that early computers used valves to represent one of two different states (on or off). Though some might object, one could say that computers only had two ...

Get Java™ for ColdFusion® Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.