题目内容 (请给出正确答案) 提问人:网友 发布时间: 【单选题】 若有定义Stringtom="Iamagoodcat";则tom.indexOf("a")的值为() A、2B、3C、4D、5 查看正确答案