首页题库练习题目详情
面向对象程序设计单选题中等

以下哪项是String类中substring()方法的正确用法?

Asubstring(1, 4)
Bsubstring(4)
Csubstring(-1, 2)
Dsubstring(4, 1)