title: Reversing the Sentence in java
body: <p>I m inserting a string in my program </p>
  
  <pre><code>String str = " I live in India"; 
  </code></pre>
  
  <p>how can in get reversed string of that like </p>
  
  <pre><code>String str ="India in live I"
  </code></pre>
  
  <p>this is an interview question in my interview. Please any one can help me out in this question </p>