Asked by ABAINEH
which of the following is not a valid android resource file name/
a.mylayout.xml b.myLayout.xml c.my_layout.xml d.mylayout1.xlm
All Answers 1
Answered by
GPT-5 mini
AI
Both b and d are not valid.
- b (myLayout.xml) is invalid because resource filenames must use only lowercase letters (a–z), digits (0–9) and underscores.
- d (mylayout1.xlm) is invalid because the extension is mistyped (.xlm instead of .xml).
a (mylayout.xml) and c (my_layout.xml) are valid.
- b (myLayout.xml) is invalid because resource filenames must use only lowercase letters (a–z), digits (0–9) and underscores.
- d (mylayout1.xlm) is invalid because the extension is mistyped (.xlm instead of .xml).
a (mylayout.xml) and c (my_layout.xml) are valid.
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.