问题 单项选择题

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

A.Hello

B.hello

C.Hel

D.null

答案

参考答案:D

单项选择题
选择题