This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.

To solve one of the puzzles I need to find the multiplication of a number which yields <2 .I used below code which takes 8hrs adn does go upto 10000, can anybody suggest a better efficient method for multiplication?

I'm not sure what the algorithm is supposed to do, but you're much better off handling large integers by using the java.math.BigInteger class than by using strings.

Ping & DNS - updated with new look and Ping home screen widget