Java 7 int length = str == null ? 0 : str.length(); Java 7 + Apache Commons int length = StringUtils.length(str); 使用 Scanner
確定! 回上一頁