Posted by: blog December 16, 2013
Java Help
Login in to Rate this Post:     0       ?        
Here you go. try to debug this code to see how it actually works.  

public class MyStringTest{

     public static void main(String []args){
       
        String str = "ABCDEFGH";
        for(int i = str.length()-1; i>=0; i--) {
            System.out.print(str.charAt(i));
        }
     }
}
Read Full Discussion Thread for this article