The answer is there:
Returning a Value from a Method (The Java™ Tutorials > Learning the Java Language > Classes and Objects)
public Bicycle seeWhosFastest(Bicycle myBike, Bicycle yourBike,
...
Type: Posts; User: Programming_Hobbyist
The answer is there:
Returning a Value from a Method (The Java™ Tutorials > Learning the Java Language > Classes and Objects)
public Bicycle seeWhosFastest(Bicycle myBike, Bicycle yourBike,
...
Well I don't know how other people would do it, but personally, I'd put those two values in a separate object, and then, return the object.