This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes K&B book  Console example Scjp6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "K&B book  Console example Scjp6" Watch "K&B book  Console example Scjp6" New topic
Author

K&B book Console example Scjp6

sumit kothalikar
Ranch Hand

Joined: Apr 15, 2010
Posts: 91


K&B book page no.457-458




Here at line # 4 variable name is used but it is not declared when
we declare it(name var) as String pw returns the password we have entered
Is there any correction in the above code.


Thanks & Regards
Sumit Kothalikar
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: K&B book Console example Scjp6
 
Similar Threads
Program for Console
System.console() Problem
NullPointerException when using java.io.Console
Console class NullPointerException problem
K&B book Console example Scjp6