What colleges are displayed in the list box by the following program segment?

```
Dim ivies() As String = {"Harvard", "Princeton", "Yale", "Dartmouth",
"Brown", "Columbia", "Univ. of PA", "Cornell"}

Dim query = From college in ivies
Where college.Length <= 9
Order By college.Length Descending, college Descending
Select college
lstBox.Items.Add(query.Last)
lstBox.Items.Add(query.Min)
```
(A) Dartmouth and Princeton
(B) Yale and Brown
(C) Yale and Cornell
(D) Dartmouth and Yale


(B) Yale and Brown

Computer Science & Information Technology

You might also like to view...

The syntax of the IndexOf method is ____.

A. string.IndexOf(subString[, startIndex]) B. string.IndexOf.subString C. subString.IndexOf(string) D. string.IndexOf(startIndex, subString)

Computer Science & Information Technology

EX 1.1. Give examples of the two types of Java comments and explain the differences between them.

What will be an ideal response?

Computer Science & Information Technology

You can extract information from a database using a(n):

A) query. B) inquiry. C) criterion. D) question.

Computer Science & Information Technology

What are two common uses for the Date function?

What will be an ideal response?

Computer Science & Information Technology