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

分类: 初级Java开发工程师 发布时间: 2023-11-03 11:08 浏览量: 1

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

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

10