Convenience
- A good interface makes all tasks possible . . . and common
tasks simple
- Bad example: Reading from System.in
- Why doesn't System.in have a readLine
method?
- After all, System.out has println.
- Why can't I make a BufferedReader from an input
stream?
- After all, I can make a PrintWriter from an output
stream.
previous |
start |
next .... [Slide 33] ....