Question Detail

COM 101 COM 101 Past Questions Objective Question

Question

32. Which of these is a valid command in Visual Basic
Options
A Text box
B Dim For As Long
C Label = 4
D Dim Age As String
Correct Answer
Correct Answer

Option D is the correct answer.

Detailed Explanation

'Dim Age As String' is a valid variable declaration. The others are invalid syntax or misused.

Hint

Valid variable declaration.

Question Info