Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Recursion in j2me

 
vishwas bhatt
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic