A.返回一個(gè)長(zhǎng)度為4的數(shù)組 B.返回一個(gè)長(zhǎng)度為3的數(shù)組 C.不能返回?cái)?shù)組,因?yàn)樽詈笠粋€(gè)"-"后面沒(méi)有數(shù)值,代碼不能執(zhí)行 D.能夠返回?cái)?shù)組,數(shù)組中最后一個(gè)元素的數(shù)值為null
A.字符串"helloworld"中不包含G字符,indexOf返回0 B.字符串"helloworld"中不包含G字符,indexOf返回null C.字符串"helloworld"中不包含G字符,indexOf返回-1 D.字符串"helloworld"中不包含G字符,indexOf返回1
A.charAt() B.substring() C.toUpperCase() D.length()