Lecture 18
来源:互联网 发布:关于美食的评价知乎 编辑:程序博客网 时间:2024/05/16 14:17
Lecture 18
Multi-dim arrays
2*100
int[][] scores = new int[2][100];
score[0][0] ——> int
score[0] ——–>int[]
ArrayList
pro:
- dynamic resizing
- other ops
cons:
* less efficient than array
* syntax bulky
* pre 5.0fixed size ——-> array
Debugging
Design ———> Architect
Coding ———> Engineer
Testing ———> Vandal
Debugging ——–> detective
4D
Design
Development
Debugging
Deployment
Space shuttle
int x;
$1000500k; 500Million $
bugs
bad values
fault logic
unwanted assumptions
debugs
simple
Systematic
assumptions about problems
critical
Don`t panic
approach to debug
println
* method
* variablesUnit test
阅读全文
0 0
- Lecture 18
- Lecture 18 Shortest Paths II
- Lecture Slides
- Lecture 1
- Lecture 1
- Lecture 2
- Lecture Halls
- Java3D Lecture
- codeforce499B - Lecture
- B. Lecture
- Lecture 1
- Lecture 3
- Lecture 3
- Lecture 4
- Lecture 5
- Lecture 6
- Lecture 7
- seq2seq lecture
- [算法与数据结构]
- windows7 《寒江独钓》传统键盘过滤驱动学习
- 使用单例模式封装Intent(实现跳转与携带数据跳转,顺带发送广播)
- Java包装类 对象的比较器
- 496. Next Greater Element I
- Lecture 18
- 怎么解决java.lang.NoClassDefFoundError错误
- Android 6.0以后获取本地mac地址
- Unity自定义UI组件(六)日历、日期拾取器
- URL访问地址和Tomcat项目部署中不得不说的小秘密
- Unity3d生成Mesh
- Android Lint
- 更改dialog样式activity在屏幕中显示的位置
- Python入门系列——第18篇