Scope and Access
AP Computer Science A · Flashcards · Recall
AP COMPUTER SCIENCE A · FLASHCARDS
Card 1
of 28
0 got it
0 to review
Current
Got it
Still learning
Not seen
QUESTION
What is the scope of a variable declared in a class but outside methods?
QUESTION
Which keyword is used to declare a constant in Java?
QUESTION
What is the default value of a class-level int variable?
Tap to flip before you grade
ANSWER
0. Numeric instance variables are automatically initialized to zero.
Swipe → got it · swipe ← still learning
Got it
Still learning
Flip Card
Previous card
Next card