Assignment Statements and Input
AP Computer Science A · Flashcards · Recall
AP COMPUTER SCIENCE A · FLASHCARDS
Card 1
of 19
0 got it
0 to review
Current
Got it
Still learning
Not seen
QUESTION
What keyword declares a constant in Java?
QUESTION
What method reads an integer from Scanner 'sc'?
QUESTION
What does 'int a = 7;' do?
Tap to flip before you grade
ANSWER
Declares and initializes 'a' with 7. Creates variable and assigns initial value in one statement.
Swipe → got it · swipe ← still learning
Got it
Still learning
Flip Card
Previous card
Next card