006--java数组(快捷键fori,foreach,sout)
简介:package com.tz;public class tt { public static void main(String[] args) { int[] a=new int[5]; for (int i = 0; i <a.length ; i++) { a[i]=i; } for (int k:a) { System.out.print(k); } .