181k views
5 votes
Which statements about array algorithms are true?

I. The array algorithms are building blocks for many programs that process arrays.
II. Java contains ready-made array algorithms for every problem situation.
III. It is inefficient to make multiple passes through an array if you can do everything in one pass.

1 Answer

1 vote

Answer:

In the given question the option I and III is true.

Explanation:

Array is a collection of homogeneous elements. It holds a fixed number of elements and these elements type should be the same.

In data structures arrays are used to implement their algorithms.

In this question the option II is wrong because In java array does not contain the ready-made array for every problem.

That's way option I and III is true.

User Jysohn
by
5.9k points