AND-401 Exam QuestionsBrowse all questions from this exam

AND-401 Exam - Question 84


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

Show Answer
Correct Answer: B

The correct signature of the onDraw() method in the android.view.View class is public void onDraw(Canvas). This method is called when the view should render its content, and it takes a Canvas object as a parameter to draw on.

Discussion

1 comment
Sign in to comment
MmadiOption: B
Dec 31, 2022

B. public void onDraw(Canvas)