imperative / Java
Representation
Collected by Colleen Lewis — Own practice
Introduces references as arrows (i.e., something more standard)
PL | NM |
---|---|
... | (all aspects of Physical Java 3) |
reference | arrow originating from a small box |
null | X written in a small box |
Standard ways of drawing Java memory (X for null, arrows for references).
Once students understand the idea of a reference and aliasing.
There are no longer physical elements. Everything is written, which makes it easier.
Do you have feedback on this notional machine? Did you find a mistake, or do you have a request for improvement? You can create an Issue on GitHub, where the description is hosted. This way we can see your feedback and address it.
For this, you need a GitHub account. Then follow this link to see the source file of this page. In there, click the ... left of the highlighted line, then pick "Reference in a new issue".