This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes Recursion  in j2me Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Recursion  in j2me" Watch "Recursion  in j2me" New topic
Author

Recursion in j2me

vishwas bhatt
Ranch Hand

Joined: Nov 30, 2000
Posts: 129
Hi Folks,


Is there any limitation for recursion (recursve function) in j2me?

If yes what kind of limitation with recursion.

Thanks
Vishwas
Eduardo Marques
Ranch Hand

Joined: Feb 19, 2005
Posts: 231
Only stack size, which may be specially small in J2ME devices.
So be sure that you recursion does not nest too deeply.

There is no other limit on recursion.


Eduardo Marques
Get ready for your SCMAD certification at J2MECertificate.com - See what all the buzz is about ...
 
 
subject: Recursion in j2me
 
It's not a secret anymore!