Page 1 of 1

About Question enthuware.ocpjp.v7.2.1412 :

Posted: Wed Apr 16, 2014 5:35 pm
by tn1408
#3, #4, #5 are correct but #1 is also correct as per Java spec:
Scanner(File source, String charsetName)
Constructs a new Scanner that produces values scanned from the specified file.

Thanks

Tony,

Re: About Question enthuware.ocpjp.v7.2.1412 :

Posted: Wed Apr 16, 2014 10:04 pm
by admin
Yes, but comma is not a charset name. The explanation has been modified to make it clear.

thank you for your feedback!