Difficulty with Collections.binarySearch
问题 I am new to JAVA and Netbeans and this is what I have to do: The user can write a CD title in the input box and then remove the CD from the list by pressing the remove button. If the CD does not exist in the collection, then a message can be displayed in the outbox to state this. I have to use Collections.binarySearch() to do this. This is only a part of the whole program but I already figured out the rest of it. This is what I have done: ArrayList <String> songs = new ArrayList();