赞助
摘要: pubilc class Test { pubilc static void main(String[] args){ int rows= 5; int[][] yh = new int[rows][]; //创建多个不同长度的二维数组 for(int i = 0 ; i < rows;i++){ 阅读全文
posted @ 2022-05-03 13:50 Tsunami黄嵩粟 阅读(37) 评论(0) 推荐(0)
摘要: 概念:一维数组中的一维数组;数组中的元素,还是数组; pubilc class Test{ pubilc static void main(String[] args){ int[][] nums = new int[3][5]; nums[0][0] = 10;//第一行。第一列 nums[0][ 阅读全文
posted @ 2022-05-03 12:57 Tsunami黄嵩粟 阅读(22) 评论(0) 推荐(0)