Question

21. What is assigned to lblMessage.Text when the following code segment executes? Dim strNamel As String = "Jim" Dim strName2 As String ="John" If strNamel > strName2 Then lblMessage.Text =

"Jim is greater" Else lblMessage.Text = “John is greater" End If a. True b. False c. Jim is greater d. John is greater

Fig: 1

Fig: 2

Fig: 3

Fig: 4

Fig: 5

Fig: 6

Fig: 7

Fig: 8

Fig: 9