QuestionJune 20, 2025

1 of 20 Which of the following is a Java call- back method invoked when a view is clicked? onTab OnTapListener onClick OnClickl _istener

1 of 20 Which of the following is a Java call- back method invoked when a view is clicked? onTab OnTapListener onClick OnClickl _istener
1 of 20
Which of the following is a Java call-
back method invoked when a view is
clicked?
onTab
OnTapListener
onClick
OnClickl _istener

Solution
4.7(310 votes)

Answer

onClick Explanation 1. Identify the correct callback method In Java, when a view is clicked, the callback method invoked is **onClick**. This method is part of the OnClickListener interface.

Explanation

1. Identify the correct callback method<br /> In Java, when a view is clicked, the callback method invoked is **onClick**. This method is part of the OnClickListener interface.
Click to rate:

Similar Questions