1 2 3 4 5
public class MethodCallOnString { public static void main(String... args) { int length = "ABC".length(); } }