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)- A7% (2)
- B79% (22)
- C4% (1)
- D11% (3)
Community Discussion
No community discussion yet for this question.