Dear friends, open CAclubindia and then copy paste this link in your browser and hit Enter and see the magic of Java language:
javascrip:function reverse() { var inp = "!yad ecin a evah "; var outp="";for (i = 0; i <= inp.length; i++) { outp =inp.charAt (i) + outp;}alert(outp) ;}; reverse();
Note: Add 't' after javascrip