How to cross a Parking Lot

Classic programmed-learning exercises, refreshed for modern Java and presented in the current MrStyner.com portfolio style.

Modern Java noteThis archive has been refreshed for Java 25 LTS. Core language concepts remain useful, while outdated setup instructions and browser-era Java are labeled or replaced. Java 26 is the current feature release; Java 25 is used here as the stable teaching baseline.
go to previous page   go to home page   hear noise   go to next page

Answer:

You walk.

How to cross a Parking Lot

The problem of crossing the parking lot is not insurmountable. You recall the instructions of the philosopher Lao Tse:

A journey of a 1000 yards begins with a single step.

(In the original, Lao Tse probably did not have mall parking lots in mind.)

So you bravely face towards the mall entrance and take a single step.

QUESTION 2:

What do you do next?