Thinking in Java. 正则表达式:检查一个句子或者字符串是否以大写字母开头,以句号结尾.
importjava.util.Arrays;publicclassSplitting{publicstaticStringknights="Then,whenyouhavefoundtheshrubbery,youmust"+"cutdownthemightiesttreeintheforest...."+"with....aherring.";/*publicstaticvoidsplit(S