JAVA - REVERSING A STRING OBJECT
I was asked a question recently about reversing a string in java. The first thing that came to my mind was to use ruby to solve the problem since there is a reverse method on the string object in ruby.
Since I love java so much, I would like to discuss a solution in java. My first solution was something like this below:
Tags