This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
Here at line # 4variable name is used but it is not declared when we declare it(name variable) as String pw returns the password we have entered
Is there any correction in the above code
We appreciate you posting your doubts and possible erratas here at JavaRanch.
In general we ask you to first post on the appropriate forum, like SCJP. Then, once everyone has agreed that there's an error, you can add the error to the error list.
We never committed to responding to threads in this forum
Eliminate fossil fuel subsidies. (If you're not on the edge, you're taking up too much room.)