https://tutorialworld.in/java-coding/remove-last-element-array-java/
Java Program to delete element at the end of Array