java Arrays.binarySearch problem
<pre><code>String[] sortedArray = new String[]{"Quality", "Name", "Testing", "Package"};   

// Search for the word "cat" 
int index = Arrays.binarySearch(sortedArray, "Quality");  
</code></pre>

<p>i always get -3. problem is in "Name". Why i can not have "Name" in my array? Any idea?</p>
