1. What is wrong with the following statement? If B=3 B=2 End If 2. Suppose that currently the variable MyVariable is equal to 3. What will be the contents of the lblMyLabel label after the following code is executed: Select Case MyVariable Case 0 lblMyLabel.Caption = "Hi, Have a nice day" Case 1 lblMyLabel.Caption = " " Case 2 lblMyLabel.Caption = "Are you having fun?" Case 3 lblMyLabel.Caption = "Good-bye" Case 4 lblMyLabel.Caption = "Good Morning" End Select
ANSWER KEY: |
VB ONLINE: |