#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,
About Question enthuware.ocpjp.v7.2.1412 :
Moderators: Site Manager, fjwalraven
-
- Posts: 28
- Joined: Wed Dec 04, 2013 7:57 pm
- Contact:
-
- Site Admin
- Posts: 10389
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1412 :
Yes, but comma is not a charset name. The explanation has been modified to make it clear.
thank you for your feedback!
thank you for your feedback!
Who is online
Users browsing this forum: No registered users and 8 guests