Exam4Training

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

Method onDraw() of class android.view.View has the following signature:
A . public void onDraw(Color)
B . public void onDraw(Canvas)
C . public boolean onDraw(Canvas)
D . public Canvas onDraw()

Answer: B

Explanation:

The parameter to onDraw() is a Canvas object that the view can use to draw itself.

References: http://developer.android.com/training/custom-views/custom-drawing.html

Latest AND-401 Dumps Valid Version with 228 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version