Home
Explore
Exams
Login
Get started
Home
Engineering
Computer Science
Comp sci-primitives
0.0
(0)
Rate it
Studied by 2 people
View linked note
Call Kai
Locked
Learn
Practice Test
Spaced Repetition
Match
Flashcards
Knowt Play
Card Sorting
1/9
Earn XP
Description and Tags
Computer Science
All Modes
Learn
Practice Test
Matching
Spaced Repetition
Call with Kai
Chats
Last updated 11:53 PM on 9/18/22
Update
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat
No analytics yet
Send a link to your students to track their progress
10 Terms
View all (10)
Star these 10
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