The statement ___________ assigns an array of three columns and three rows to two- dimensional int array intArray.

a) int[][] intArray = { { 1 2 3 } { 4 5 6 } { 7 8 9 } };
b) int[,] intArray = new int( { { 1 2 3 } { 4 5 6 } { 7 8 9 } };
c) int[,] intArray = { { 1 2 3 } { 4 5 6 } { 7 8 9 } };
d) int[] intArray = { { 1 2 3 } { 4 5 6 } { 7 8 9 } } );

Answer: C

Computer Science & Information Technology

You might also like to view...

The ____________________ of a subclass consist of the entire list of parent classes from which a child class is derived.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

? Critical Thinking Questions Case 7-2 ? Tom started the process of selecting a new system for the firm and he is weighing all of the various issues that need to be considered and the resources he has at his disposal as he makes this important decision. As Tom prepares to remove the field in his selection of a new system, he wants a quick refresher on the difference between a request for proposal (RFP) and a request for quotation (RFQ). If he needs a request for proposal (RFP), Simone will write it, and if he needs an RFQ, Marny is responsible for writing that. Which of the following is true??

A. ?An RFP that Simone writes is more specific than an RFQ Marny will write. B. ?When Simone is tasked with the job, Tom already knows the specific product or service he wants and he needs to obtain price quotations or bids. C. ?When Marny is tasked with the job, her output can involve outright purchase or a variety of leasing options. D. ?RFPs and RFQs have very different objectives.

Computer Science & Information Technology