下列定义画布对象正确的是__________。
A: Dim g As Graphics = Me.CretateGraphics()
B: Dim g As Me.CretateGraphics()
C: Dim g As CretateGraphics
D: Dim g As Graphics.Me.CretateGraphics
A: Dim g As Graphics = Me.CretateGraphics()
B: Dim g As Me.CretateGraphics()
C: Dim g As CretateGraphics
D: Dim g As Graphics.Me.CretateGraphics
举一反三
- 下列数组说明语句正确的是 A: Dim g(0,-5)As Single B: Dim h(100 To 100,100)As String C: Dim x(5)As Integer D: ReDim x(10)As Integer E: Dim y() F: ReDim y
- 下列程序段错误的是( )。 A: Dim a As Integer B: a=array(1,2,3,4) C: Dim a(),b() D: a=array(1,2,3,4): b=a E: Dim a As Variant F: a=array(1,"aSd",true) G: Dim a()As Variant H: a=array(1,2,3,4)
- The light is too_________ for me to see. A: slight B: vague C: dim D: indistinct
- 下列语句定义一个变体数据的是 。 A: Dim b& B: dim c C: Dim a% D: Dim d$
- 以下定义数组或给数组元素赋值的语句中,正确的是 A: Dim a As Variant B: a=Array(1,2,3,4,5) C: Dim a (10) As Integer D: a=Array(1,2,3,4,5) E: Dim a%(10) F: a(1)="ABCDE" G: Dim a (3),b(3) As Integer H: a(0)=0 I: a(1)=1 J: a(2)=2 K: b=a