make the array stop in java

Solutions on MaxInterview for make the array stop in java by the best coders in the world