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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Recursion  in j2me" Watch "Recursion  in j2me" New topic

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.

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 - See what all the buzz is about ...
I agree. Here's the link:
subject: Recursion in j2me
It's not a secret anymore!