String a = "123";
String b = new String("abc");
String example = "1234567"; System.out.println(example.equals("123")); // 거짓 System.out.println(example.charAt(1)); // 2 System.out.println(example.substring(1, 4)); // 234