After the following code fragment, what is the value in a? String s; int a; s= “Foolish boy.”; a = s.indexOf(“fool”);

A. -1.
B. 0.
C. 4.
D. random value.

error: Content is protected !!