CyberSlug Rules!

Beginner Programming CMPS060

Prof. Paulo Franca

Home

Syllabus

Login

Objects

Download

Staff only

Fundamental Types:

types recognized by the compiler

integer types: int and long (no decimal part)

type

from:

to:

int

-32768

32767

long

-2147483648

2147483647

floating point types:

float and double

  • stored as mantissa and exponent;
  • usually six digits precision
  • range may vary with compiler

character type: char