nerdexam
Android

OA0-002 · Question #110

Which of these is called after the end of each test method of ActivitylnstrumentationTestCase2, a class which provides the unit Activity function tests?

The correct answer is B. tearDown. See the full explanation below for the reasoning.

Question

Which of these is called after the end of each test method of ActivitylnstrumentationTestCase2, a class which provides the unit Activity function tests?

Options

  • ArunTest
  • BtearDown
  • CsetUp
  • DsetActivityIntent

How the community answered

(47 responses)
  • A
    2% (1)
  • B
    81% (38)
  • C
    11% (5)
  • D
    6% (3)

Community Discussion

No community discussion yet for this question.

Full OA0-002 Practice