public static void main(String[] args) {
String a = "Hi I am Bob";
String[] words = a.split(" ");
String newOne= "";
for(int i=words.length-1;i>=0;i--)
{
newOne+=words[i];...
Type: Posts; User: camel-man
public static void main(String[] args) {
String a = "Hi I am Bob";
String[] words = a.split(" ");
String newOne= "";
for(int i=words.length-1;i>=0;i--)
{
newOne+=words[i];...
I am not very comfortable with Strings in Java. I have a pretty knowledgeable background in C, and I learned that it is not the way to approach problems in Java with a "C" mindset.
The problem I...