Variables and Data Types
AP Computer Science A · Flashcards
AP COMPUTER SCIENCE A · FLASHCARDS
Card 1
of 33
0 got it
0 to review
Current
Got it
Still learning
Not seen
QUESTION
What is the default value of an int variable in Java?
QUESTION
Which escape sequence is used for a new line in Java?
QUESTION
How do you declare a float variable named 'temperature'?
Tap to flip before you grade
ANSWER
float temperature;. Float provides 32-bit precision for decimal numbers.
Swipe → got it · swipe ← still learning
Got it
Still learning
Flip Card
Previous card
Next card