Skip to content

Instantly share code, notes, and snippets.

@kineticz
Created January 26, 2015 13:01
Show Gist options
  • Select an option

  • Save kineticz/4c640f2b1a836e766941 to your computer and use it in GitHub Desktop.

Select an option

Save kineticz/4c640f2b1a836e766941 to your computer and use it in GitHub Desktop.
symbol not found?
package com.company;
public class Main {
public static void main(String[] args) {
for(int i = args.length() - 1; i >= 0; i--) {
reverse(args[i]);
}
System.out.println();
}
public static void reverse(String s) {
for(int i = s.length() - 1; i >= 0; i--) {
System.out.print(s.charAt(i));
}
System.out.print(" ");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment