What two names are displayed in the list box when the button is clicked on?
Dim krispies as String
Private Sub frmCereal_Load(...) Handles MyBase.Load
krispies(0) = "snap"
krispies(1) = "crackle"
krispies(2) = "pop"
End Sub
Private Sub btnDisplay_Click(...) Handles btnDisplay.Click
lstBox.Items.Add(krispies.Max)
lstBox.Items.Add(krispies.Last)
End Sub
A) crackle and pop
B) crackle and snap
C) snap and crackle
D) snap and pop
Correct Answer:
Verified
Q2: The statement
Dim newlist(10) As String
is
Q3: If you use the ReDim statement to
Q4: The ReDim statement causes an array to
Q5: After an array has been declared, its
Q6: After the following Dim statement is executed,
Q8: Either a For...Next loop or a For
Q9: What two numbers are displayed in the
Q10: Which statement is true regarding the following
Q11: Like other variables, array variables can be
Q12: A Function procedure can return a number,
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents