Warm-up Activity
- Write in Java a method to take a Vector of objects as input, along with one separate object, and determine the index of the first occurrence, if any, of that object in the vector. But do NOT use the built in method indexOf.
- Use elementAt(int i), size().