Sequential Searching
===

Ok I am relatively new to Java Programming, but have previous experience in C++. I want to search an array for a specific item, but what if there are more than one of the same specific item? Would it be best to use a temporary array to store all found items in the array and return the temporary array?

Note: I'm trying to find the best way of doing this with memory management and speed. And it's not for HW :)