RPA 14

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

Select the Java Collections Class that best fits the description: Provides instant access to any single item based on an index, but items must be stored in contiguous memory.

ArrayList

Select the Java Collections Class that best fits the description: Provides key:value pairs in which you access an item by the key (could be a string or other type of key).

HashMap

Select the Java Collections Class that best fits the description: Keeps track of items before and after a node, so to get to the 5th item in the sequence, you must 'walk' through items 0-3.

LinkedList

Given the following code, place the values in the correct *row* (i.e. unique single dimensional array). The order within that row does not matter, just they are grouped in the correct array. =0

Row 0: 1, 2, 3 Row 1: 21, 20 , 22 Row 2: 32,30,31 Uncategorized Answers: Row is empty

Given the following code, place the values in the correct *row* (i.e. unique single dimensional array). The order within that row does not matter, just they are grouped in the correct array. =i

Row 0: 20, 1, 30 Row 1: 2, 31, 21 Row 2: 3, 22, 32 Uncategorized Answers: row is empty


Kaugnay na mga set ng pag-aaral

Chapter 2 types of life policies

View Set

Six Sigma Practice Test 7 ( Indiana Council /Analyze Stage)

View Set

Chapter 48: Care of the Patient with a Cardiovascular or a Peripheral Vascular Disorder

View Set

Week 9 & 10 Powerpoint Questions

View Set

AZ-104 Knowledge Check Questions (MIDTERM PREP)

View Set

Barron's: AP Computer Science A: Chapter 3: Classes and Objects

View Set

Gross Anatomy I Test 1 (Previous tests)

View Set

Type II Diabetes - Pearson Questions

View Set

Biology Unit 1: Life, Viruses, Cell Types & Biomolecules

View Set