Where can I find the source code of Java arrays?

Where can I find the source code of Java array?

Example:

double[] arr=new double[20];@H_301_5@ 
 

所有具有任何维度的数组都实现了Cloneable和Serializable`接口.我搜索了源代码但找不到相应的代码.

Solution

Take a look at the explanation of this But basically, array types are built into the JVM. You need to analyze the source code of the JVM you are running in order to really understand how it works

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>