How to run the program Compile the demo by javac App.java Run the demo by java App Alternatively, simply run the script run App