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...

When you link a worksheet to a Word document,:

A) an error message displays. B) the formulas remain as formulas. C) the cells with formulas display as blank cells in the Word document. D) the formulas automatically become values.

Computer Science & Information Technology

In the words of Justice Brandeis, what is the "right to be let alone"?

A. Anonymity B. Social discovery C. Privacy D. Impersonation

Computer Science & Information Technology