Chapter 4: Fundamental Data Types

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

Primitive types includes

Four integer types and two floating-point types.

Objects and methods start with

a lowercase letter.

char

The character type, representing code units in the unicode encoding scheme.

double

The double precision floating point-type, about 15 significant decimal digits. 8 bytes.

long

The long integer type, with biggest range range. 8 bytes.

float

The single precision floating point type, about 7 significant decimal digits. 4 bytes.

Byte

The type describing a single byte, with range -128..127. size: 1 byte.

boolean

The type with the two truth values false and true. 1 bit.

All class in the java library start with

an uppercase letter.

Static method

do not operate on an object.

Java has how many primitive types?

eight.

Primitive types inculde

int, byte, short, long, double, float, char, and boolean.

Constant

is a final variable, once its value has been set, it cannot be changed.

short

the short integer ttpe, with range -32768...32767. 2 bytes,


Set pelajaran terkait

Chapter 12 - Inflammation and Wound Healing, Tissue Integrity - NCLEX Questions

View Set