Java Ch 2

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/13

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 7:31 PM on 10/15/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

14 Terms

1
New cards

primitive type

a simple data type

ex: byte, short, int, float, double

2
New cards

reference type

more complex data types

ex. system

3
New cards

expression

a computation involving values, variables, and operators that taking them together, evaluates to a value

4
New cards

initialization

an assignment made when you declare a variable

int count; or int count = 10;

count =10

5
New cards

byte

used for small integer values like 100

6
New cards

short

used for small integer integer values like 1000

7
New cards

long

used for large integer values like 1000000

8
New cards

float

used for floating-point number with less precision than double 36.6f

9
New cards

int

used for integer values

10
New cards

double

used for decimal numbers ex. 19.99

11
New cards

char

used for single characters “A”

12
New cards

boolean

used for true/false values

13
New cards

string

used for a sequence of characters (not a primitive type but commonly used “John”

14
New cards

JOptionPane

showConfirmDialog