🧭 CapCompassfree study planner

Primitive Values, Wrapper Classes and Types — Class 11 ISC Computer Science revision notes

A 4-page visual revision sheet for Primitive Values, Wrapper Classes and Types, written for Class 11 ISC Computer Science. Formulas, diagrams and the traps that cost marks, laid out to be read the night before rather than the term before. Free, and it opens inside CapCompass.

Primitive Values, Wrapper Classes and Types revision notes, page 1 of 4 Page 1 as PDF
A preview of page 1 — all 4 pages open full size in the app.

Primitive Values, Wrapper Classes and Types in one look

the eight raw types Java stores directly, and the classes built around each one

The eight primitive types

  • Java has exactly eight primitive types, and every one of them stores its value directly, not a reference to an object holding it
  • four are whole numbers of growing size: byte, short, int and long
  • two are numbers with a fractional part: float and double
  • char stores one single character, and boolean stores only true or false

Size and range, the numbers an exam actually asks for

TypeSizeRange or note
byte1 byte-128 to 127
short2 bytes-32768 to 32767
int4 bytesabout -2.1 billion to 2.1 billion
long8 bytesfar larger than int, written with an L suffix
float4 bytesfewer significant digits, written with an F suffix
double8 bytesthe default for decimals, more significant digits than float
char2 bytesone character, unicode
booleannot fixed by the languagetrue or false only

Bit width, drawn as one row

  • a byte's eight bits are all the storage it gets, so its range is fixed by exactly how many patterns eight bits can hold
  • a wider type is simply more of the same row, more bits and so more distinct patterns to represent a bigger range

Page 1 of 4. The full sheet, all 4 pages, opens free in the app.

What this Primitive Values, Wrapper Classes and Types sheet covers

Open the full Primitive Values, Wrapper Classes and Types sheet →Free, works offline, no account needed. All 4 pages, plus a study plan built around your own exam dates.

How CapCompass uses this sheet

These notes are not a standalone PDF. CapCompass plans Computer Science chapter by chapter against your real exam dates and free hours, and when the plan reaches Primitive Values, Wrapper Classes and Types the sheet opens inside the study block itself — at the page covering the sub-topic that block is on, with the timer still running. Revision arrives at the moment the plan says revise, instead of having to be gone looking for.

More Computer Science Class 11 revision notes