ThinkChat🤖让你学习和工作更高效,注册即送10W Token,即刻开启你的AI之旅 广告
``` public class ScannerTest { public static void main(String[] args)throws Exception{ int[] a =new int[5]; for (int i = 0; i < a.length; i++) { System.out.println(a[i]); } } ``` 输出: ` 0 0 0 0 0 `