Java Demo
Java Code Output
java-ArrayList-integer