title: If condition not working properly in android eclipse
body: <p>my code is</p>
  
  <p><code>int count = cur.getCount();
          if (count &gt; 0)       // condition is true
              return true;<br>
          else
              return false;   // excute this statement</code></p>
  
  <p>here count value is 1. and in if condition "count > 0" returns true. but also it jumb to else statement. if statement not excute. it returns false. can any one give a solution for this?</p>