填空題
多項(xiàng)選擇題
A.Dim num As Integer = Integer.Parse(str) B.Dim Num As Integer = str.ToInt() C.Dim num As Integer = Convert.ToInt32(str) D.Dim num As Integer = CType(str, Integer)
單項(xiàng)選擇題
關(guān)于下面代碼的敘述不正確的是()
A.代碼中參數(shù)數(shù)組必須改為值傳遞 B.代碼中參數(shù)數(shù)組必須改成過程定義的最后一個(gè)參數(shù) C.代碼中參數(shù)數(shù)組中的每一個(gè)元素的數(shù)據(jù)類型應(yīng)該和ParamArray的數(shù)據(jù)類型相同。 D.代碼中參數(shù)數(shù)組根據(jù)需要可以改成多位數(shù)組。
A.Main B.Sub C.Function D.Property
下述代碼A和B正確的值是() Dim X As String = "123" Dim Y As Integer = 123 Dim A As String = X + Y Dim B As String = X & Y
A.“246”,“123123” B.246,“123123” C.“123123”,“123123” D.123123,“123123”
A.循環(huán)變量的終值>初值 B.循環(huán)變量的終值<初值 C.循環(huán)變量的終值=初值 D.以上說法都錯(cuò)
A.Const Num As Integer=200 B.Const Num1 As Long=200, Sstr$="World" C.Const Sstr$="World" D.Const Num$=#World#