Created
February 11, 2016 15:23
-
-
Save alexejVasko/2a9c504378de326b6307 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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