Homework: Oriented Programming
Write a Java program that performs the following tasks:
a. Declare and create a vector with initial size of 10, increment of 2.
b. Add two numbers to this vector, test and display the size of the vector.
c. Add six more numbers to this vector, test and display the size of the vector.
d. Display all elements in the vector.
After you are done, submit the source code with some screenshots.
Format your homework according to the give formatting requirements:
a. The answer must be double spaced, typed, using Times New Roman font (size 12), with one-inch margins on all sides.
b. The response also includes a cover page containing the title of the homework, the course title, the student's name, and the date. The cover page is not included in the required page length.
c. Also include a reference page. The references and Citations should follow APA format. The reference page is not included in the required page length.