我在哪里可以找到源头code为Java数组? [英] Where can I find the source code for Java arrays?

查看:92
本文介绍了我在哪里可以找到源头code为Java数组?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在哪里可以找到源头code对Java数组?

Where can I find the source code for java arrays?

例如:

double[] arr=new double[20];

所有的数组与任何维度工具 Cloneable的和Serializable`接口。我搜索源$ C ​​$ C,但找不到code这一点。

All array's with any dimension implements Cloneable and Serializable` interface. I searched the source code but couldn't find the code for this.

推荐答案

在看一看<一个href=\"http://www.velocityreviews.com/forums/t668320-source-$c$c-for-array-implementation-in-java.html\">this一个解释。但基本上数组类型是内置到JVM,你需要分析源$ C ​​$ C你是为了运行真正知道它是如何工作的JVM。

Have a look at this for an explanation. But basically the array type is built-in to the jvm and you need to analyze the source code for the jvm you are running in order to truly know how it works.

这篇关于我在哪里可以找到源头code为Java数组?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆