Zeus Learning Pvt. Ltd interview question

Print sting in reverse e.g I want to learn Java O/p: Java learn to want I