IN THIS CHAPTER
Checking your capitalization and value comparisons
Watching out for fall-through
Putting methods, listeners, and constructors where they belong
Using static and nonstatic references
Avoiding other heinous errors
“The only people who never make mistakes are the people who never do anything at all.” One of my college professors said that. I don’t remember the professor’s name, so I can’t give him proper credit. I guess that’s my mistake.
Java is a case-sensitive language, so you really have to mind your ps and qs — along with every other letter of the alphabet. Here are some concepts to keep in mind as you create Java programs: