next up previous contents
Next: goto Statements Up: Things Left To Previous: Records

Pointers

Because all variables of primitive types are references to arrays, all variables of recordtypes are references to objects and variables of arraytypes are references to arrays, the pointers should not be a problem anymore. Working with a pointer to a variable is now very similar to working with a normal variable. In fact as all variables are already references, the declaration of a pointer variable is the same as a declaration of a non-pointer variable.

Because the JVM has automatic garbage collection, the dispose statement, used to free the memory of a variable, can now be ignored.



mark@bottom.xs4all.nl