Home > Articles > Programming > Java

  • Print
  • + Share This
Like this article? We recommend

Running the Supplied Java Code

To run the code, download it here, and unzip it into any old folder. Next, open a DOS console and change directory to where the unzipped code files reside and run the command javac *.java. To run the code, update your classpath as follows:


To run the programs, type:

java ArrayListTest

This command should produce the output illustrated in Figure 1.

  • + Share This
  • 🔖 Save To Your Account