问题 单项选择题

单击命令按钮时,下列程序的执行结果为( )。  Private Sub Command1_Click()   Dim a As Integer,b As Integer,c As Integer   a=2:b=3:C=4    Print P2(c,b,A)   End Sub  Private Function P1(x As Integer,y As Integer,z As Integer)   P1=2 * X + y + 3 * z  End Function  Private Function P2(x As Integer,y As Integer,z As Integer)   P2=P1(z,x,y) + X  End Function

A.True

B.boolean

C.int

D.public

答案

参考答案:A

解析:B中的 public final void writeInt(int v)throws IOException 方法 是OutputStream 类的方法。

口语交际,情景问答题
选择题