1
Programming / Re: Recursion Program.
« on: October 01, 2017, 06:22:40 »
in your factorial method, you should return an int instead of an Integer.
Every time you run this method it creates an Integer object which is a waste of space when you can just return an int.
Every time you run this method it creates an Integer object which is a waste of space when you can just return an int.
Follow @SLO_MMORPG