【单选题】执行下面程序后,输出的结果是( )。 Private Sub Form_Click() Dim a() a = Array(1, 2, 3, 4) j = 1 For i = 3 To 0 Step -1 s = s + a(i) * j j = j * 10 Next i Print s End Sub
【简答题】下面程序编译后执行的结果是______________。 class Dog { private String name; private int age; public int step; Dog(String s,int a) { name=s; age=a; step=0; } public void run(Dog fast) { fast.step++; } } class Test {...
【简答题】执行下面的程序,在窗体上显示的输出结果的第一行是_____,第二行是______. Private Sub Form_Click() Dim s As String, i As Integer, flag As Boolean s="THIS IS A BOOK." S=LCase(s) Print s Flag=True For I=1 to Len(s) If Mid(s, i, 1)= "...