Linear Search Implementation
Class LinearSearchTest
(Fig. 19.2) contains static
method linearSearch
for performing searches of an int
array and main
for testing linearSearch
.
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.