Question:
A little Java help! ??
Rostral Ventral Medial Medulla
2007-11-18 21:15:09 UTC
I just need to know if i can use a exponent in a return method. and how.

For example if i have 2 numbers how will i use the return method to do it!!

I am so confused.. pleace help
Three answers:
HappyStarz
2007-11-18 21:24:17 UTC
Java Help Forums:



http://forum.java.sun.com/forum.jspa?forumID=42
StormBringer
2007-11-19 05:37:36 UTC
Parameter passing in Java is by reference in Java (for objects, not intrinsic data types). Therefore, if you need to return more than one object from your function, you can use this facility. Otherwise use a collection to return the desired values.
--jrom--
2007-11-19 05:25:06 UTC
>> For example if i have 2 numbers how will i use the return method to do it!!





use arrays..


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...