Hey everyone, I’m new at Java and I’m having a bit of trouble. I have an assignment in which I have an Array of objects. The user is to input a name, which then needs to be found in the Array so that the information for that name is displayed. My problem is that i was told to use a binary search and I'm not supposed to use the Arrays class. I know how to do a binary search when the array contains numbers. But I am unsure of how to do it when it contains strings. Can any one give me an example of how I can do this or is it impossible to do with out the Arrays class?
Thanks,
Praclarush