JAVA program that will declare and create a vector with initial size of 10, increment of 2.
Then, Add two numbers to this vector, test and display the size of the vector.
Add six more numbers to this vector, test and display the size of the vector.
Finally, display all elements in the vector.