Java syntax: Creating and Using Objects

Thus far, we have used BlueJ to create and manipulate objects. We also saw that BlueJ could be used to record our interactions as translated to Java syntax. Our goal here is to further understand the elements of syntax seen in such a sample of Java code.

We strongly recommend the use of the text as a resource. In these notes, we simply outline some of the early issues to address, giving specific references to their early treatment in the text.

Many of these syntax issues are revisited in more detail in the "Java Language Summary" given on pp. 100-106 of Ch. 2.


Michael Goldwasser
Last modified: Monday, 02 February 2004