Expressions and Output()
AP Computer Science A · Flashcards
AP COMPUTER SCIENCE A · FLASHCARDS
Card 1
of 35
0 got it
0 to review
Current
Got it
Still learning
Not seen
QUESTION
What is the output of: System.out.println(4 + 2 * 3 - 1);?
QUESTION
Identify the error: System.out.println('Hello' - 'World');
QUESTION
What is the result of 10 % 3 in Java?
Tap to flip before you grade
ANSWER
1. Modulus operator returns the remainder after division.
Swipe → got it · swipe ← still learning
Got it
Still learning
Flip Card
Previous card
Next card