Even the examples that come with the Java SDK from Sun could be improved, since many programmers are going to study them and learn from them. With so many classes and methods available to Java programs, it's important for source code to be as clear as possible.
Hungarian Notation can help.
The original specification is a bit complex and specific to the C programming language, but it can be successfully adapted to Java programs. HN provides a way to make your code more understandable and maintainable by prefixing a variable name with its type. For example, if there is a numeric variable for a yearly total, it could be called nYearTotal . This is especially useful in C where pointers, for example, are a notorious source of problems. But Java doesn't have pointers, so there is no need to create or de-reference them.