Which of the following would define a two dimensional structure to store temperature during three periods of a day for seven days?

A. int [ , ] temp = new int [7, 3];
B. int [ , ] temp = new int [6, 2];
C. int  temp[7] [3 ] = new temp [7] [3];
D. int  temp[6] [2 ] = new temp [6] [2];


Answer: A

Computer Science & Information Technology

You might also like to view...

Stage method setScene places ________.

a. the root node b. text in the Stage window's title bar c. the gradient on the Stage d. a Scene onto a Stage

Computer Science & Information Technology

The analysis of multi-event patterns is called ________.

A. event scoring B. event correlation C. event aggregation D. event filtering

Computer Science & Information Technology

Which function changes the actual string stored in the string object (i.e., is not a const member function)?

a. length b. empty c. capacity d. resize

Computer Science & Information Technology

To import information into Excel from a web page, you must first open the page with:

A) an Internet browser. B) Microsoft Access. C) Notepad. D) Microsoft Word.

Computer Science & Information Technology