Methods: Passing and Returning References
AP Computer Science A · Flashcards
AP COMPUTER SCIENCE A · FLASHCARDS
Card 1
of 36
0 got it
0 to review
Current
Got it
Still learning
Not seen
QUESTION
What occurs if a method returns null by default?
QUESTION
What will 'return null;' do in a method returning a reference?
QUESTION
Which keyword is necessary to return an object from a method?
Tap to flip before you grade
ANSWER
return. Required for all method returns.
Swipe → got it · swipe ← still learning
Got it
Still learning
Flip Card
Previous card
Next card