String Reverse In Java Without Using Function