Write a java application that prompts user to enter 7 elements. The elements will be stored in an array list of type double. All elements entered should then be displayed on a separate line. The sum of the elements should also be shown in the end line.