Section 19.2 Linear Search

• The linear search algorithm (p. 812) searches each element in the array sequentially until it finds the correct element, or until it reaches the end of the array without finding the element.

Get Java™ How To Program (Early Objects), Tenth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.