Skip to content

Instantly share code, notes, and snippets.

@alexejVasko
Created February 11, 2016 15:23
Show Gist options
  • Save alexejVasko/2a9c504378de326b6307 to your computer and use it in GitHub Desktop.
Save alexejVasko/2a9c504378de326b6307 to your computer and use it in GitHub Desktop.
package lesson1;
public class CharAtLength {
/**
* @param args
*/
public static void main(String[] args) {
String mjQuote = "I'm failed over and over and over again in my lyfe and that is why I succeed";
System.out.println(mjQuote.charAt(mjQuote.length()-1));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment