Comp sci-primitives

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

1/9

flashcard set

Earn XP

Description and Tags

Last updated 11:53 PM on 9/18/22
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

10 Terms

1
New cards
char 65
A
2
New cards
char 97
a
3
New cards
char 48
0
4
New cards
char
holds numbers but prints letters
5
New cards
Doubles
prints decimals/fractions
6
New cards
Floats
put f after value and prints decimals/fractions
7
New cards
int
only holds integers
8
New cards
primitive
holds variables
9
New cards
If 1 operand is a double
other operand is promoted to a double (ex: int x=5, char y=12.2 x+y=17.2
10
New cards
If both operands are less or equal to an int
then both are promoted to int

Explore top flashcards