Skip to content

Instantly share code, notes, and snippets.

@Yur-ok
Created December 4, 2015 17:47
Show Gist options
  • Save Yur-ok/89a3c0e2deacffd9cb52 to your computer and use it in GitHub Desktop.
Save Yur-ok/89a3c0e2deacffd9cb52 to your computer and use it in GitHub Desktop.
Пример использования метода length()
package SecondProgramm;
/**
* Created by Юрий on 05.12.2015.
*/
public class StringLength {
public static void main(String[] args) {
String name = "Yuriy";
System.out.println(name.length());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment