Prepare application using java programming language.
Question: Write an application that can hold five integers in an array. Display the integers fromfirst to last, and then display the integers from last to first.
Show the integers in the array from first to last using a for() loop.
Can you help me out in this program.