欢迎来到考试题库网 考试题库官网

单项选择题

顺序执行下列程序语句后,则b的值是( )。
String a=Hello:
String b=a.substring(0,2);

    A.Hello
    B.hello
    C.Hel
    D.null
点击查看答案