Examlex
What will be the output of the following program when the button is clicked on? Private Sub btnDisplay Click . ) Handles btnDisplay.Click
Dim word, result As String
word = "Benjamin"
result = Rotate (word)
result = Rotate (result \& word)
result = Rotate (result)
txtBox. Text = result
End Sub
Function Rotate (var As String) As String
Dim varlength As Integer
varlength = var. Length
Return var.Substring(1) & var. Substring (0, 1)
End Function
Q12: When an exception is generated by a
Q22: Which of the following is not a
Q24: A LINQ clause beginning with Join and
Q26: A modal form cannot lose the focus
Q26: Which of the numbers below is equivalent
Q29: Which of the following is an activity?<br>A)
Q30: What is the data type of the
Q31: When a Visual Basic program is running,
Q54: For a list box named lstBox, the
Q58: In inheritance, the keyword Overrides is used