Solved

We Want to Be Able to Compare the Starting Coordinate

Question 13

Multiple Choice

We want to be able to compare the starting coordinate of a touch with the ending coordinate of a touch. How can we do it?


A) We cannot compare those coordinates.
B) We can compare them inside the onTouch method when it is called; nothing additional needed.
C) Store the ending coordinate in an instance variable and compare it to the starting coordinate of the touch inside the onTouch method.
D) Store the starting coordinate in an instance variable and compare it to the ending coordinate of the touch inside the onTouch method.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents