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.
Originally posted by Malhar Barai: hi all to generate random password...i use static Random rand = new Random(); but on compilation, it gives "illegal start of expression error".. what cud be the pro..??
Static variables cannot be defined within methods. They should be enclosed within classes only. Is this the problem? -GB.