About Question enthuware.ocpjp.v11.2.1769 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
sohamdatey22
Posts: 28
Joined: Sun Sep 11, 2022 3:55 am
Contact:

About Question enthuware.ocpjp.v11.2.1769 :

Post by sohamdatey22 »

Letd say default is en_US

It will search for bundle in below sequence....

msgs_hinglish_IN----->msgs_hinglish---->
msgs_en_US---> msgs _en------>msgs


I believe without knowing default local, this question makes no sense,.. What is someone's default local is
hinglish_US

The bundle will get loaded then....


Isn't it?

admin
Site Admin
Posts: 10046
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v11.2.1769 :

Post by admin »

Why do you believe so when the JavaDoc API description clearly specifies the search strategy when a locale is given as an argument?

https://docs.oracle.com/en/java/javase/ ... assLoader)

The first file to be looked for will always depend on the specified locale. So how does it matter what the default locale is in the given question?
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 87 guests