数组需要8 bytes去存储它自己的大小(2,147,483,648)(2^31)
为什么ArrayList的最大数组大小是Integer.MAX_VALUE - 8
猜你喜欢
转载自blog.csdn.net/qq_38534524/article/details/93734130
今日推荐
周排行