Question: Why is the @StringRes annotation used in the Question class constructor? Question 2 4 Select one: a . It ensures the string resource is available
Why is the @StringRes annotation used in the Question class constructor?
Question Select one:
a
It ensures the string resource is available at runtime
b
It allows the textResId property to hold either a string or integer
c
It validates at compiletime that a valid string resource ID is used
d
It improves the readability of the code for other developers
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
