Examlex

Solved

What Is Assigned to LblMessage

question 32

Multiple Choice

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


Definitions:

Only Child

A child who has no siblings and is the solitary offspring of their parents.

Share

To have or use something jointly with others, or to divide and distribute.

Compete

To take part in a contest or rivalry, striving to win or achieve something by surpassing others.

Conscious

Pertaining to the awareness of one's own existence, sensations, thoughts, surroundings, and the ability to perceive external stimuli.

Related Questions