Program powered by(view source)

Description Arraytest.java
Output