this Keyword
AP Computer Science A · Flashcards · Recall
AP COMPUTER SCIENCE A · FLASHCARDS
Card 1
of 30
0 got it
0 to review
Current
Got it
Still learning
Not seen
QUESTION
How does 'this' contribute to method chaining?
QUESTION
What is the return type when 'this' is used to return the current object?
QUESTION
Can 'this' be used with a method call in an instance method?
Tap to flip before you grade
ANSWER
Yes, to call another instance method. this.methodName() calls method on current instance.
Swipe → got it · swipe ← still learning
Got it
Still learning
Flip Card
Previous card
Next card