Home »
MCQs »
AppML MCQs
Suppose you are asked to set an error with code and description, then which of the following methods will you use?
33. Suppose you are asked to set an error with code and description, then which of the following methods will you use?
- SET_ERROR
- setError (code, description)
- set_error (code, description)
Answer: B) 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.