Chapter 7 Quiz

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

true

true or false: any items typed on command line separated by a space after name of class are arguments passed to the main method

true

true or false: declaring an array reference does not create an array

true

true or false: java does not limit the number of dim that arrays may have

true

true or false: objects in array are accessed with subscripts

true

true or false: once an array is created, its size cannot be changed

true

true or false: when an array of objects is declared but not initialized, array values set to null

search algorithm

_____ algorithm is a way to locate a specific item

0

by default, java initializes array elements with

length

each array has a public field named _____that contains the number of elements in an array

ragged array

this type of array is 2 dimensional where the rows are different lengths

false

true or false: a sorting algorithm is used to locate a specific item in a larger collection of data

false

true or false: an array can hold multiple values of several different data types simultaneously

true

true or false: an array list object automatically expands in size to accommodate items


Ensembles d'études connexes

Prepu: Chapter 73: (Beta) Next Generation - NGN

View Set

Chp 16: Contracts- Legality and Public Policy

View Set

Psych Chapter 11: Stereotyping, Prejudice, and Discrimination

View Set

LHI: Household Food Insecurity and Hunger

View Set

MISY 3310 Ch 21 - Emerging Technologies (ALA)

View Set

Head and Neck anatomy final exam questions

View Set