FANDOM


Full resolution (download)‎ (1,233 × 572 pixels, file size: 195 KB, MIME type: image/jpeg)

DescriptionEdit

A chart descriping the primitve data types available in Java. It shows in columns (from left to right) the keyword, range, type, and a descriptive example. It is based on the information from the Java tutorials[1] and format from Algorithms, 4th Edition.[2] Java Codings

DetailEdit

From left to right, top to bottom the text reads

Keyword, Range, Type, Example

byte, -128 to 127, 8-bit two's complement, Limited whole numbers

short, -32 768 to 32 767, 16-bit two's complement, Whole numbers

int, -2 to the 31st power to 2 to the 31st power - 1, 32-bit two's complement, Large whole numbers

long, -2 to the 63rd power to 2 to the 63rd power - 1, 64-bit two's complement, Very large whole numbers

float, See float, 32-bit IEEE 754 floating point, Decimals

double, See double, 64-bit IEEE 754 floating point, More precise decimals

boolean, true and false, 1-bit, not explicit, Conditions, flags

char, '\u0000' (0) to '\uffff' (65 535), 16-bit Unicode character, Letters, digits,  symbols

ReferencesEdit

  1. Oracle. "Primitive Data Types". Accessed 2014-10-23 14:35:08UTC
  2. Sedgewick, Robert and Wayne, Kevin Algorithms, 4th Edition. "Programming Model, Primitive data types and expressions".

Appears on these pages
of

  • Variables

    A variable refers to the memory location that holds values like numbers, texts etc. in the...

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current14:50, October 23, 2014Thumbnail for version as of 14:50, October 23, 20141,233 × 572 (195 KB)ShooShoSha (Talk | contribs)Remove error marks from Word. Pad table with symmetrical number of pixels (8).
14:27, October 23, 2014Thumbnail for version as of 14:27, October 23, 20141,230 × 570 (195 KB)ShooShoSha (Talk | contribs)Remade image so as not interfere with copyright.
04:21, January 7, 2012Thumbnail for version as of 04:21, January 7, 2012266 × 189 (8 KB)Domingocool (Talk | contribs)

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.