The statement s1.startsWith("art")

a. s1.regionMatches(0, "art", 0, 3);
b. s2 = s1.getChars(0, 3);
s2.equals("art");
c. s1.regionMatches(true, 0, "art", 0, 3);
d. All of the above

d. All of the above

Computer Science & Information Technology

You might also like to view...

How many elements are in array double list[5]?

A. 5 B. 6 C. 0 D. 4

Computer Science & Information Technology

How can you deal with rapid-fire questions during a cross-examination?

What will be an ideal response?

Computer Science & Information Technology