nerdexam
Android

AND-401 · Question #46

Method onDraw() of class android.view.View has the following signature:

The correct answer is B. public void onDraw(Canvas). See the full explanation below for the reasoning.

Question

Method onDraw() of class android.view.View has the following signature:

Options

  • Apublic void onDraw(Color)
  • Bpublic void onDraw(Canvas)
  • Cpublic boolean onDraw(Canvas)
  • Dpublic Canvas onDraw()

How the community answered

(28 responses)
  • A
    7% (2)
  • B
    79% (22)
  • C
    4% (1)
  • D
    11% (3)

Community Discussion

No community discussion yet for this question.

Full AND-401 Practice