【Java字符串相关类知识,字符串构造方法,字符串比较,字符串常见方法,内存

-`length()`:返回字符串的长度。-`charAt(intindex)`:返回指定索引处的字符。-`substring(intbeginIndex,intendIndex)`:返回一...