Question: The strNames array contains 100 elements. Which of the following statements assigns the number 99 to the intLastSub variable? a. intLastSub = strNames.Length b. intLastSub

The strNames array contains 100 elements. Which of the following statements assigns the number 99 to the intLastSub variable?
a. intLastSub = strNames.Length
b. intLastSub = strNames.GetUpperBound(0) + 1
c. intLastSub = strNames.GetUpperBound(0)
d. Both a and b.

Step by Step Solution

3.33 Rating (162 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

c intLa... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (2 attachments)

PDF file Icon

1814_60b8c12285f4e_823607.pdf

180 KBs PDF File

Word file Icon

1814_60b8c12285f4e_823607.docx

120 KBs Word File

Students Have Also Explored These Related Programming Microsoft Visual Basic Questions!