Hi, this is an example from K&B SCJP6 page 458.
I'm getting a null pointer exception, but I'm not sure what needs to be changed.
I tried initallising the char array with
char[] pw = new char[1000];
but it made no difference. Could someone explain please?
Exception in thread "main" java.lang.NullPointerException
at io_streams.ConsoleReadIn.main(ConsoleReadIn.java:11)
Thank you!
Nigel