Basic HTML version of Foils prepared July 6 99

Foil 25 Types

From Use of Java Language in Computational Science DoD Modernization Users Group Conference Monterey -- June 7 99. by Nancy McCracken, Geoffrey C. Fox


1 A variable is either a primitive type such as int, float or double, or it is an object.
2 Note that there is no primitive type for Complex.
3 Type Size in bits Values: example Standard
4 boolean 1 true or false
5 char 16 \u0000 to \uFFFF ISO Unicode
6 byte 8 signed integer: 0
7 short 16 signed integer
8 int 32 signed integer
9 long 64 signed integer
10 float 32 floating pt: 0.0f IEEE 754
11 double 64 floating pt: 0.0 IEEE 754

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Tue Jul 6 1999