How to use classes in Referenced Libraries in Eclipse

Viewed 25593

I have imported the algs4.jar file as a referenced library as seen above. All seems to be fine but I can't seem to use or access any of the classes in the library.

Is there an import statement I'm missing?

Image reference:

Note how I'm trying to use BinarySearch from the referenced library but it is not offering me an option to use or import it.

5 Answers
Related