资讯
Right-click the Java file you want to edit and select "Open With." Click your Java compiler to open the code in the editor. Add the "Random" class library to the top of the source code file.
Create an array for the images. The following code creates an array that holds two images:int myimage [] = new int (2); Generate a random number using the Java "random" class.
一些您可能无法访问的结果已被隐去。
显示无法访问的结果