This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
If you see start of line, its "int ....", so every variable declared afterwards will be one dimensional array of type int, so the declaration int a => a is an one dimensional array that can take int members
but, int b => makes b two dimensional array, as this declaration is equivalent to "int b", it's an example of how weired Java syntaxes can be...
As an advice, pay very close attention to such pitfalls (though this is not a compiler error), scan your question like a compiler first before figuring out what logic is doing, many times, you can rush directly to option "won't compile" without looking at logic...
~Sumit<br /><a href="http://faq.javaranch.com/view?ScjpWallOfFame" target="_blank" rel="nofollow">SCJP Wall of Fame</a>
Joined: Feb 14, 2007
Awesome, I can't believe I did not read through that question.
Thanks for the explanation folks.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com