1.
http://blog.csdn.net/weiwangchao_/article/details/25960961
2.
1. Click "Window" > "Preferences" > "Java" > "Installed JREs". 2. At this point, the right side of "Installed JREs" is the list pane, listing the JRE environment in the system, selecting your JRE, Then click "Edit ..." on the edge and a window will appear (edit JRE) 3. Select the Rt.jar file C:\Program Files\java\jre_1.5.0_06\lib\rt.jar; Point to the left of the + number to expand it, you can see the source Attachment: (none), point this item, point to the right of the button source Attachment ..., select your JDK directory under the Src.zip file
3.
Public Static void Main (string[] args) { int a[] = {0,1,2}; // int[][] aa = new int[2][3]{0, 1,2,3,4,5}; int [] aa = {{0,1}, {2,3}, {4,5}}; System.out.println (aa.length); System.out.println (aa[0].length); System.out.println (aa[0][1]); System.out.println (aa[1][0]); }
4.
5.
Eclipse Associated JDK Source code