Duplicate :
|
|
Relates :
|
|
Relates :
|
Name: gh8910 Date: 02/18/2002 At the moment Java methods can only return a single value. In practice some methods need to return multiple values. Currently the only solution to this is to create a trivial class to hold the multiple values. We should investgate whether it would be useful to modify the Java language to support multiple return types from methods. ======================================================================
|