After the following code fragment, what is the value in a?String s;int a;s = "Foolish boy.";a = s.indexOf("fool");
Reveal answer
Fill a bubble to check yourself
After the following code fragment, what is the value in a?String s;int a;s = "Foolish boy.";a = s.indexOf("fool");