If v1 and v2 are objects instead of primitives, the easiest solution is an Object array (or a specific array if they have the same class). Here's a trivial example:
This will output the following.
Does that clarify it? Ben's suggestion is to define a class with fields that will hold the returned objects along with a pair of get/set methods (accessors) for each. This class would satisfy the JavaBean requirements, so you might want to look that up at Sun's
Java site if you need examples.