Which Java statement creates a jagged array with six rows?

A. double [][] sales = new double[6][4]
B. double [][] sales = new double[4][6]
C. double [][] sales = new double[6][]
D. double [][] sales = new double[][6]


Answer: C

Computer Science & Information Technology

You might also like to view...

__________ is usually faster than __________.

a. High-level I/O, low-level I/O. b. Low-level I/O, high-level I/O. c. Low-level I/O, internal data processing. d. High-level I/O, internal data processing.

Computer Science & Information Technology

Are these services available using TCP or UDP or both?

Which port number is assigned to each of these services: a. ftp b. telnet c. SMTP d. World Wide Web HTTP

Computer Science & Information Technology

Create a movie with several turtles moving in each frame, like our dance function. Move each turtle, pause, and save it to a frame.

Note: The easiest way to do this is just to adapt Program 203 to write each frame to a directory.

Computer Science & Information Technology

Text within a cell can be rotated to draw attention to the data

Indicate whether the statement is true or false

Computer Science & Information Technology