| |
| | jGuru: Language Essentials, Short Course Contents |
 | | So far, you've learned to define instances of objects in terms of their behaviors, which in many cases is legitimate, but, in general, user-defined data types incorporate state variables as well. |
 | | Most programmers would agree that instance variables should be initialized for the sake of readability, and local variables must be initialized for the sake of programmers' sanity everywhere, that is, for wherever and with whatever environment the source code might be compiled today, tomorrow, and after no one remembers who wrote the code. |
 | | instance, passed as an argument by the browser environment, to draw a string at coordinates (10, 20) relative to the applet's window area. |
| java.sun.com /developer/onlineTraining/JavaIntro/contents.html (8179 words) |
|