String Loop AP CS A Practice Multiple Choose Question
Below is an AP styled multiple choice question involving involving a while loop over a string and the indexOf() method. What is the result of the call to the method [crayon-691787ce09752941425519-i/] [crayon-691787ce0975c714368026-i/] Error returns 1 infinite loop returns 3 returns 2 [crayon-691787ce0975f463221496/] Scroll down for answer. The answer is [crayon-691787ce09761763835394-i/] Error returns 1 infinite … Continue reading String Loop AP CS A Practice ...
