Hi all
this question is from
http://www.anilbachi.8m.com can any1 explain me the solution
q). What happens when you compile & run the following with input of 4
a).The method returns a value of 6
b).The method returns a value of 42
c).The method never returns due to an infinite loop
d).The method fails to compile
Added code tags to correct display ...
See http://www.javaranch.com/ubb/ubbcode.html to see how to do this on your own ... Jane
[This message has been edited by Jane Griscti (edited February 22, 2001).]