What will be the value of position after the following code is executed?

```
int position;
String str = "The cow jumped over the moon.";
position = str.indexOf("ov");

```

a. 14 b. 15 c. 18 d. 17

b. 15

Computer Science & Information Technology

You might also like to view...

Computers on a network can store files in folders that are ________ with other computers on the network

Fill in the blank(s) with correct word

Computer Science & Information Technology

The ________ file format is often used for animated images that appear on the web

A) GIF B) PPTX C) JPEG D) PDF

Computer Science & Information Technology