Java variablesState traceEasy
Question
What values do a and b contain after these statements?
int a = 4;
int b = a;
a = 7;Try to say the answer and your reasoning before revealing the card.
Student Review Tool
Computer science and math decks, searchable by topic, with easy, medium, and hard cards.
Step 1
Intro to Computer Science (Java)
Java foundations, OOP, arrays, ArrayList, debugging, testing, and project-ready coding habits.
Question
a and b contain after these statements?int a = 4;
int b = a;
a = 7;Try to say the answer and your reasoning before revealing the card.
All decks included