![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Chapter 29: | How to Program Defensively |
When you practice defensive programming, you embellish your programs
with expressions that help you to zero in on where problems occur and why they
occur. In this chapter, you learn about implementedBySubclass
and
error:
, both of which are methods that help you to practice defensive
programming.