Page 1 of 1

About Question enthuware.ocpjp.v7.2.1121 :

Posted: Sat Oct 19, 2013 5:51 am
by radu.almasan
Which of the following are required to construct a Locale?
Required as correct answer here are options:
  • language
  • country
but a locale can be constructed using it's

Code: Select all

public Locale(String language)
constructor, which would mean that only the language is required to create a locale.

Enforcing this, I found on Oracle's website:
Regardless of the technique used, creation can be as simple as specifying the language code

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

Posted: Sat Oct 19, 2013 9:19 am
by admin
You are right. This has now been fixed.

thank you for your feedback!
Paul.