Google News
logo
AppML - Quiz(MCQ)
Suppose you are asked to set an error with code and description, then which of the following methods will you use?
A)
SET_ERROR
B)
setError (code, description)
C)
set_error (code, description)
D)
None of the above

Correct Answer :   setError (code, description)


Explanation : In a situation where you are asked to set an error with code and description, then setError (code, description), the method will be used.

Advertisement