Solved

What Words Are Displayed in the List Box by the Following

Question 49

Multiple Choice

What words are displayed in the list box by the following program segment?
Dim deadlySins As String = {"pride", "greed", "anger", "envy", "lust", "gluttony", "sloth"}
Dim query = From sin in deadlySins
Order By sin.Length Descending
Select sin.ToUpper
lstBox.Items.Add(query.First)
lstBox.Items.Add(query.Min)


A) GLUTTONY and GLUTTONY
B) GLUTTONY and SLOTH
C) GLUTTONY and ANGER
D) PRIDE and ENVY

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents