A.在java中只允許單一繼承 B.在java中一個(gè)類只能實(shí)現(xiàn)一個(gè)接口 C.在java中一個(gè)類不能同時(shí)繼承一個(gè)類和實(shí)現(xiàn)一個(gè)接口 D.java的單一繼承使代碼更可靠
A.String s = "Gone with the wind"; String t = " good "; String k = s + t; B.String s = "Gone with the wind"; String t; t = s[3] + "one"; C.String s = "Gone with the wind"; String standard = s.toUpperCase(); D.String s = "home directory"; String t = s - "directory"
看下面關(guān)于switch的語(yǔ)句 switch(exp1 ) { } 表達(dá)式exp1可以是()類型
A.intB.charC.byteD.String