Preston Decker's Seventh CS151 Homework Preston Decker's Seventh CS151 Homework
Fields are created by referencing them through self and then setting them equal to a value, such as with the field x in self.x=tx.>
A field is accessed in an object is accessed within a method by first defining the method, then using the object, which causes the field to be accessed. An example of this is in the read method, which calls the self object which accesses the data field.
I was helped greatly with this by the Tas as well as to a lesser extent
by classmates.
