String str =”this is a dog.”; int index = str.index

String str =”this is a dog.”; int index = str.indexOf(” dog”);

这段代码执行结束后index的值为多少?

10