This will print YES . String line = "abc"; Pattern pattern = Pattern.compile("c$"); Matcher matcher = pattern.matcher(line); ...
確定! 回上一頁