What is assigned to lblMessage.Text when the following code segment executes?
Dim strName1 As String = ”Jim”
Dim strName2 As String = “John”
If strName1 > 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
d. John is greater
You might also like to view...
The button is used to sort a field in ascending order
Indicate whether the statement is true or false
What does the following statement do?
JTextArea textField = JTextArea(message, 25, 15); A) It creates a text area with 25 columns and 15 rows that will initially display the text stored in the String object message. B) It creates a text area with 25 columns and 15 rows that will initially display the text stored in the text area textField. C) It creates a text area with 25 rows and 15 columns that will initially display the text stored in the String object message. D) It creates a text area with 25 rows and 15 columns that will initially display the text "message".