Hava Language Tutorial
An indexed variable
defines a collection of values classified by index.
Only the values that are requested (in the course of
calculating other values) will be calculated.
In this example,
f(3)
was eventually requested, but
f(11)
and
f(1000)
were not.
Back
-
Home
-
Next
|