赞题库-背景图
单项选择题

已知窗体中按钮Command0对应的事件代码如下:
Private Sub Command0_Click()
Dim J As Integer
J=10
Call GetData(J+5)
MsgBox J
End Sub
Private Sub GetData(ByRef f As Integer)
f=f+20
End Sub
运行程序,输出结果是______。

A.30
B.15
C.10
D.35