Java_Arrays Flashcards

1
Q

How are arrays declared in Java?

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

How are arrays instantiated in Java?

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

How are arrays in Java declared, instantiated and assign values in one step?

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

How is length of the array accessed?

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

What does arraycopy() method do?

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

Can we define array of Java object types?

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

Does array support polymorphism?

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

How are arrays iterated using for-each loop?

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

How are multi-dimensional arrays created in Java?

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

How are elements in array sorted?

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

How is searching done in arrays?

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

What happens if the searched element is not found in the binary search of an array?

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

How all elements of arrays are populated with one value?

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