Project 3
Please use the following data
file (simple text file) for the project exercise P13.8 in the textbook.
The file is not sorted, so you are asked to
-
read in the content saving it in a Vector
-
convert the Vector to an array
-
use method Arrays.sort(Object[]) (please refer to the Java
documentation)
-
implement your binary search method to find an element in
the sorted array as described in P13.8