Java数组详解05 - 数组使用的几个案例

数组使用练习For-Each循环数组作为方法入参数组作为返回值示例:package com.zctou.array; public class ArrayDemo04 { public static void main(String[] args) { // 数组使用演示 int[] nums = {1,2,3,4,5}; // 1. 打