Array Flashcards

1
Q

collection of entities with similar types.

A

array

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

used to declare an array in Java, either after the type or after the name.

A

square brackets

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

set of guidelines for a specific programming language that recommend programming style, practices, and methods for each aspect of a program written in that language.

A

conventions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

refers to the memory allocated to the program while it is running, or in other words, during runtime.

A

dynamic memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

access the elements in a particular index

A

indexing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Assigning values to the elements of the array requires indexing

A

assignment operator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

array of arrays

A

multi-dimensional array

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

you can declare a multi-dimensional array by
using ____

A

two or more sets of brackets
String [] [] names

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

cycles through an object collection, such as arrays in sequential manner, from start to finish.

A

for-each loop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

general form of for-each style

A

for(type itrvar : collection) statement block

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

specifies the array type

A

type

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

specifies the iterator variable that will accept the elements from the collection, from beginning to end, one at a time.

A

itrvar

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

a method available in the System class that can be used to copy data from one array to another efficiently.

A

arraycopy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly