Java chapter 3

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

1/3

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 12:49 AM on 2/8/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

4 Terms

1
New cards

In Java, the word true is ________

a Boolean literal

2
New cards

Math.random()

generates a random double [0.0, 1.0)

3
New cards

how to use Math.random()

(int)(Math.random() * (max - min + 1)) + min

4
New cards

switch control variable cannot be

a double or float