Hello everyone,
Actually, I am using Adobe Digital Editions and page numbers are not same as erreta list, as I see.
In my version it is on 208, but when I check the errata list i think it should be 265; i think after table 5.7 in the fist two examples are inconsistent.
First example tells that
java looks the default first, and then go through the requested in the getBundle method locale:
Locale.setDefault(new Locale("hi"));
ResourceBundle rb = ResourceBundle.getBundle("Zoo", new Locale("en"));
The answer is six. They are listed here:
1. Zoo_hi.java
2. Zoo_hi.properties
3. Zoo_en.java
4. Zoo_en.propertie
...
But second example tells the opposite; despite the visitor from Quebec, Java goes throug the requested one first. And program prints:
"Hello. Vancouver Zoo is open Canada visitor"
I think in the fisrt example the sorting should be changed as 3-4-1-2.
Or i could be misunderstood sth.
Thank you.
Aysenur.