Java program to accept 10 numbers in an array

Java program to accept 10 numbers in an array

Output:

Enter 10 numbers:
1 2 3 4 5 6 7 8 9 10
The array entered is:  1 2 3 4 5 6 7 8 9 10

Implementation: