This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
C is the correct answer, for example if you try to load come-file_ES_ar.properties Resources bundle then try to load these files i order come-file_ES_ar.properties come-file_ES.properties come-file.properties (this is the default file)
Santiago Urrizola : La Plata - Argentina<br />SCEA (89%-92%)<br /><a href="http://gpitech.wordpress.com/" target="_blank" rel="nofollow">http://gpitech.wordpress.com/</a>
i, i think here the problem is the meaning of "will take the next properties file" ... i assum that next propertie file is the next in the locale name hirarchy convention so ... defaul is with no specification an as my example, y try to load a file named:
example.properties for locale "es_AR" so i got this files example.properties -> this is default used for all other lenguajes (in english) example_es.properties -> this is for alla spanish lenguajes example_es_AR.properties -> this is for argentina
so when i try to load resource bundle, systen use locale, to fin the more "nearest" file to this specific locale. So if try to load this bundle with argentina locale (es_AR) and i delete all file less than example.propertie, ResourceBundle do this: 1)first try to load especialized resource bundle for specific country in the locale (es= espa�ol-spanish AR==argentina) file is example_es_AR.properties 2) if not found, then try to load, resource for the locale lenguaje (es=spanish) so NEXT file is example_es.properties 3) if not found try to load default example.properties
so .. i think here the problem is the meanign a wath do you understand by "next file" ...