When I enter an expression in JShell (9.0.1) it comes back with:
$22 -> <value>
Where does the 22 come from and what's happened to $1 to $21? (They are undefined.)
I seem to vaguely remember (when I started with Java 9.0) that the variables started with $1, which made more sense. Now, with 9.0.1,they all start with $22. Why?