Which two of the following apply to the onDraw() method of class View ??

a. It must be overridden if a customize drawing of a view is required
b. It takes one parameter of type Canvas
c. Both (a) and (b)
d. None of these

View Answer

c. Both (a) and (b)