public class Demo20k0001{ public static vid main(String args[]){ System.out.println("%20".length());//用于在剑指offer第二题中测算新的字符串长度。 } }