編寫一個Java程序,建立制定長度的int型數組,並生成100之內的隨機數爲數組的每一個元素賦值

package exercise; import java.util.Arrays; public class exer{ public static void main(String[] args) {                  // 建立對象,對象名爲hello     exer hello = new exer();                // 調用方法並將返回值保存在變量中
相關文章
相關標籤/搜索