After using the statement p = n.indexOf('A');, if p contains 5, then _________________. a. n is a

Question:

After using the statement p = n.indexOf('A');, if p contains 5, then _________________.
a. n is a string with 5 characters
b. There is no 'A' in the string n
c. There is an 'A' in the string n
d. There are five 'A' characters in the string n

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Java Programming

ISBN: 9780357673423

10th Edition

Authors: Joyce Farrell

Question Posted: