Which of the following sets of statements creates a multidimensional array with 3 rows, where the first row contains 1 value, the second row contains 4 items and the final row contains 2 items?
a.
int[][] items;
items = new int[3][?];
items[0] = new int[1];
items[1] = new int[4];
items[2] = new int[2];
b.
int[][] items;
items = new int[3][];
items[0] = new int[1];
items[1] = new int[4];
items[2] = new int[2];
c.
int[][] items;
items = new int[?][?];
items[0] = new int[1];
items[1] = new int[4];
items[2] = new int[2];
d.
int[][] items;
items[0] = new int[1];
items[1] = new int[4];
items[2] = new int[2];
b.
int[][] items;
items = new int[3][];
items[0] = new int[1];
items[1] = new int[4];
items[2] = new int[2];
You might also like to view...
Under UNIX, to change your working directory, issue a __________ line command.
a. cwd b. cd c. dir d. ndir
The dialog box in the accompanying figure is used for what purpose?
A. file extraction B. saving file differentials C. converting groups of files to other formats D. dictation of file formats
Which data validation method provides an error message when a validation rule has been broken?
A) Required field B) Default value C) Validation text D) Input mask
The TODAY and NOW functions are in the ________ category in the Function Library group of the Formulas tab
A) Lookup & Reference B) Math & Trig C) Date & Time D) More Functions