本章的代码要敲哦! 必须的!
1.continue、break、return
return:用于结束方法
2.数组:物以类聚(存储一种数据类型的数据)
3.数组的初始化:
A:为数组元素分配内存空间
B:为数组元素赋初始值
静态初始化:int[] intArr = new int[]{2,4,5};
动态初始化:int[] prices = new int[5];
4. dforeach循环
for(String book: 数组、集合的引用){
System.out.prntln(book):
}
5. 深入堆栈哦!