As you start moving away from basic programming and you begin writing more complex applications and applets, you should start using naming conventions .
Naming conventions apply to variables and attributes.
It makes your code much more comprehensible if the name of the object has some indication of the datatype of the object. This will be helpful for other people to make sense of your code and also for yourself when initializing variables further down from where you declared them. Generally, the way to indicate the datatype of a variable is to precede each variable name with a three-letter prefix. For instance, a String variable declared to keep track of what text will be printed to the screen should be named as strText. And it doesn't even mean that you will think so if you walk away from a program for 2 years and then have to return to it to fix a problem.