String底层使用是char数组还是byte数组

结论:jdk1.8及以前String底层使用是char[],1.9开始使用byte[]

jdk1.8

 jdk13

原文地址:https://www.cnblogs.com/zjwoo/p/14039102.html