Consider this 

String s = "aba";
for (int i = 0; i &lt; s.length() - 1; i++) {
    if (!(Character.isLetter(c1) &amp;&amp; Character.isLetter(c2))) {
            //reject
    } 
    if ((int)s.charAt(i) &gt; (int)s.charAt(i + 1))) {
        //reject
    }


}

for s the if statement would be true so you could reject it. If s was abc then the if statement would never be true.

The code above using the &gt; checks for ascending order. Use &lt; for descending order

check if a string has four consecutive letters in ascending or descending order
I want to understand how focusing works in Manual mode in my D90.  I  switched off the autofocus buttons in the Kit lens and the camera body. I have changed to the manual mode. Now, when I try to focus on any specific object, I do not see any specific focus point being highlighted when I press the shutter button halfway. All the focus points on the view finders lights up in red and camera clicks immediately after pressing the shutter button fully. 

I want to know why I am not able to focus on any specific object. For example, if I want to focus on the nearer object, so that the background is little blurred, then I dont seem to be able to do this. (I want to achive the 'Bokeh' effect)
