aspose file tools*
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 Java 8 in Action this week in the Java 8 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
 
wood burning stoves
 
subject: K&B book Console example Scjp6
 
Similar Threads
Program for Console
NullPointerException when using java.io.Console
System.console() Problem
Console class NullPointerException problem
K&B book Console example Scjp6