<code>list.indexOf(7)</code> returns
- A
Always returns true/false
- B
Throws exception
- Ccheck_circle
First index of 7, or -1 if not present
- D
Number of 7s
Explanation
Same convention as String.indexOf.
AP Computer Science A· difficulty 3/5
<code>list.indexOf(7)</code> returns
Always returns true/false
Throws exception
First index of 7, or -1 if not present
Number of 7s
Explanation
Same convention as String.indexOf.
Want 10 more like this — adaptive to your weak spots?