In return value; value is the value returned.

A) True
B) False

Showing Answers 1 - 2 of 2 Answers

charlie harvey

  • Mar 29th, 2006
 

um, True!public void myMethod() { value=2; return value;}public static void main (String argv[]) { System.out.println(myMethod());}prints:2

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions