Pages

Cast of Java

/*
 * THE CAST OF JAVA
 * 
 * Eight Primitive Types in Four Acts
 * 
 *    Act 1. Truth values
 *
 *        boolean (2^1)................Adam
 *
 *    Act 2. Natural/integral numbers
 *
 *        long  (2^64).................Dmitry
 *        int   (2^32).................Ivan
 *        short (2^16).................Alexei
 *        byte  (2^8)..................Pavel
 *
 *    Act 3. Real/decimal/floating-point numbers
 *
 *        float  (2^32)................Isaac
 *        double (2^64)................Ishamel
 *
 *    Act 4. Characters
 *
 *        char (2^16)..................Daedalus
 *
 * Supporting Characters
 * 
 *    A. Truthy literals
 *
 *        false (2^0)..................Cain 
 *        true  (2^0)..................Abel
 *
 *    B. Built-in reference type
 *
 *        String (2^16) x n............Stephen Dedalus
 *
 *    C. Object reference that does not reference any object
 *
 *        null (2^0)...................Tony Hoare
 */