This project was awarded to bokbokan for $10 USD.Get free quotes for a project like this
Project Budget$30 - $5000 USD
Write this program in Java Implement MyVector class by deriving directly from Object class. Behavior of MyVector is exactly the same as that of Vector. You should use array(s) only and implement MyVector class from the scratch. You are not allowed to use any class in the system package. Read API documentation of Vector class carefully, and implement the following methods of Vector class into your MyVector class. BE SURE TO GIVE javadoc comments clearly on each method. · MyVector() // constructor · MyVector(int initialCapacity) // constructor · MyVector(int initialCapacity, int capacityIncrement) // constructor · boolean add(Object o) · int capacity() · void clear() · boolean contains(Object o) · Object get(int index) · Object remove(int index) · boolean remove(Object o) · int size() · void trimToSize() Write a program ([url removed, login to view]) to test MyVector class as follows: Test each method (including constructor) at least once. Give comments clearly about what you are going to test at the beginning of each test step. Your test program needs your creativity to find out if MyVector class has any bug or not. For example, your test program should be able to detect bugs if I use a buggy MyVector class. Testing should be done automatically by the program. Do not use any interactive features. Your program by itself should conclude if the test was successful or not.
Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased.
Write in Java. I am using Window ME
## Deadline information
Please deliver it ontime
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online