我完全相信C\C++本机代码将比Java代码运行得更快。事实的确如此。我的简单C/C++基准( int阵列上的随机算术操作)运行速度比老平板电脑(三星GalaxyTabE-Android4.4.4-DalvikVM)上相同的Java代码快5-7倍,但在最近使用arithmeticJava代码 int[] array = new int[size];
i
* You do not need to write any code but inside the Pack.java file.You simply need to fill in the details for each method in the Pack.java class.* <li> You are only permitted to use the the specified methods in the java doc comments for each