220k views
3 votes
Variable X is a *

Public Class Form)
Sub Example 10 Handles MyBase.load
Dim X As Integer
X = 10
MsgBox("The value of X is "& X)
End Sub

1 Answer

2 votes

Answer:

Variable X is a local variable.

Step-by-step explanation:

X exists only inside the sub.

User MhagnumDw
by
5.6k points