單項(xiàng)選擇題

在Java語(yǔ)言中定義了如下變量:char ch;下列賦值語(yǔ)句正確的是()。

A.ch="strtest"
B.ch=’2’
C.ch=’2345’
D.ch=strtest

微信掃碼免費(fèi)搜題