csds java midterm primitive types

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

1/7

flashcard set

Earn XP

Description and Tags

widest to narrowest

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

8 Terms

1
New cards

double

  • 64 bits

  • most precise decimals

2
New cards

float

  • 32 bits

  • less precise decimals

3
New cards

long

  • 64 bits

  • very large integers

4
New cards

int

  • 32 bits

  • integers, counting digits

5
New cards

char

  • 16 bits

  • characters

  • always requires explicit typecast (can’t have negative values)

6
New cards

short

  • 16 bits

  • smaller integers

7
New cards

byte

  • 8 bits

  • smallest integers

8
New cards

boolean

  • 1 bit

  • true/false

  • cannot be typecast to any other primitive type

Explore top flashcards

IPA Symbols
Updated 745d ago
flashcards Flashcards (48)
CISC vs RISC
Updated 701d ago
flashcards Flashcards (22)
collocation 12
Updated 254d ago
flashcards Flashcards (67)
3/22/24 - DNA exam
Updated 591d ago
flashcards Flashcards (25)
SCMA 350 Exam 1
Updated 974d ago
flashcards Flashcards (37)
IPA Symbols
Updated 745d ago
flashcards Flashcards (48)
CISC vs RISC
Updated 701d ago
flashcards Flashcards (22)
collocation 12
Updated 254d ago
flashcards Flashcards (67)
3/22/24 - DNA exam
Updated 591d ago
flashcards Flashcards (25)
SCMA 350 Exam 1
Updated 974d ago
flashcards Flashcards (37)