public class Test {
public static void main(String[] args) {
String str1 = "hello word";
System.out.println(str1.length()); //字符串长度
System.out.println(str1.isEmpty()); //字符串是否为空
System
public class Test {
public static void main(String[] args) {
String str1 = "hello word";
System.out.println(str1.length()); //字符串长度
System.out.println(str1.isEmpty()); //字符串是否为空
System