Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
Java Software Solutions
Quiz 8: Arrays
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 1
True/False
In Java an array can only store one type of data.
Question 2
Multiple Choice
The "off-by-one" error associated with arrays arises because
Question 3
True/False
A ragged array is a multidimensional array whose initial indices don't all start at zero.
Question 4
True/False
Java arrays can store primitive types and Strings but cannot store any type of Object other than Strings.
Question 5
Multiple Choice
Code Example Ch 08-1 Assume an int array, values, that is filled to capacity with the following values: |18 | 9 | 4 | 12 | 2 | 6 | 8 | -Refer to Code Example Ch 08-1: What is returned by values.length?
Question 6
True/False
A Java main method uses the parameter (String[] variable) so that a user can run the program and supply command-line parameters. Since the parameter is a String array, however, the user does not have to supply any parameters.
Question 7
Multiple Choice
Code Example Ch 08-1 Assume an int array, values, that is filled to capacity with the following values: |18 | 9 | 4 | 12 | 2 | 6 | 8 | -Refer to Code Example Ch 08-1: Which of the following loops would adequately add 1 to each element stored in values?