CS1 Standard Demo Page

The following text was written to the standard output stream when the StringOpsDemo.html program was executed from IntelliJ.




/usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -javaagent:/opt/intellij-idea-community/lib/idea_rt.jar=43391:/opt/intellij-idea-community/bin -Dfile.encoding=UTF-8 -classpath /home/abhatt2/IdeaProjects/CS1/out/production/CS1:/home/abhatt2/SimplePainter.jar:/home/abhatt2/SimpleComposer.jar:/home/abhatt2/jfugue-4.0.3-with-musicxml.jar arrayplay.Primes
length of primes array = 4
first prime = 2
last prime = 7
last prime = 7

The initial array ...
2
3
5
7

The final array ...
7
3
5
2

Process finished with exit code 0
	  

/usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -javaagent:/opt/intellij-idea-community/lib/idea_rt.jar=35549:/opt/intellij-idea-community/bin -Dfile.encoding=UTF-8 -classpath /home/abhatt2/IdeaProjects/CS1/out/production/CS1:/home/abhatt2/SimplePainter.jar:/home/abhatt2/SimpleComposer.jar:/home/abhatt2/jfugue-4.0.3-with-musicxml.jar arrayplay.NumberList The original list of numbers ... 8 89 56 565 655 265 23 2 56 99 32 >>> Display 8 89 56 565 655 265 23 2 56 99 32 >>> ADD FIRST 20 >>> ADD LAST 56 >>> DISPLAY 20 8 89 56 565 655 265 23 2 56 99 32 56 >>> SWAP 1 2 >>> DISPLAY 8 20 89 56 565 655 265 23 2 56 99 32 56