Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
8th Edition
ISBN: 9781337102124
Author: Diane Zak
Publisher: Cengage Learning
Expert Solution & Answer
Book Icon
Chapter 8, Problem 21RQ
Program Description Answer

The statement “decPays.GetUpperBound(1)” is used to return the highest column subscript in a two-dimensional array named decPays.

Hence, the correct answer is option “A”.

Blurred answer
Students have asked these similar questions
Which of the following returns the highest column subscript in a two-dimensional array named decPays? a. decPays.GetUpperBound(1) b. decPays.GetUpperBound(0) c. decPays.GetUpperSubscript(0) d. decPays.GetHighestColumn(0)
Which of the following declares a five-element one-dimensional array? a. Dim intSold(4) As Integer b. Dim intSold(5) As Integer = {4, 78, 65, 23, 2} c. Dim intSold() As Integer = {4, 78, 65, 23, 2} d. Both a and c.
Which of the following declares a two-dimensional array that has four rows and three columns? a. Dim decNums(2, 3) As Decimal b. Dim decNums(3, 4) As Decimal c. Dim decNums(3, 2) As Decimal d. Dim decNums(4, 3) As Decimal
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
Text book image
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,