Created
January 13, 2020 11:19
-
-
Save merltron-pa/ab82e99e5e5f2369e2a5685255e4f10f to your computer and use it in GitHub Desktop.
This file contains 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
System.out.printf("How long is %s? Well, it's %d %n characters long of course!", "a piece of string", "a piece of string".length()); | |
/* OUTPUT: How long is a piece of string? Well, it's 17 characters long of course! */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment