Java Execution Simulator Examples From SIGCSE 2007
Four examples are available here from SIGCSE 2007.
Example 1
This is the first example which shows how parameters are passed,
how objects are instantiated, and how values are returned from a method.
Example 2
In this example, the badCall method unsuccessfully tries to change
the value of a primitive parameter.
Example 3
This shows both arrays of primitives and arrays of objects
as well as demonstrating polymorgmism, with two version of the
setToMyPosition method.
Example 4
This shows inheritance with Square extending Rectangle which extends Shape.
Circle also extends Rectangle.