先看代码: public class Main { public static void main(String[] args) throws Exception{ String baseStr = "baseStr"; final String baseFinalStr = "baseStr&