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 code will define the size(number of elements) of an array where the name of the array is arr? arr.size() arr.length() arr.size arr.length arr.number
Which of the following adds 100 to the value stored in the first row, second column of the array?a. intNum(0, 1) = intNum(0, 1) + 100b. intNum(1, 0) = intNum(1, 0) + 100c. intNum(1, 2) = intNum(1, 2) + 100d. intNum(2, 1) = intNum(2, 1) + 100
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.
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
Text book image
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
Text book image
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT