About Question enthuware.ocpjp.v8.2.1431 :

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

Moderator: admin

Post Reply
in2xes
Posts: 6
Joined: Tue Oct 20, 2015 9:47 am
Contact:

About Question enthuware.ocpjp.v8.2.1431 :

Post by in2xes »

is NumberFormat is part of OCP 8 objectives? Does '12-Localization' objectives includes NumberFormat, CurrencyFormat? Did anybody reported saying that, these type questions were asked on OCP8? Just curious and want to know. Thank you.

Below are the objectives for Localization.
Localization
Read and set the locale by using the Locale object
Create and read a Properties file
Build a resource bundle for each locale and load a resource bundle in an application

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

Re: About Question enthuware.ocpjp.v8.2.1431 :

Post by admin »

Apparently, some candidates who took the beta got them. We haven't seen anyone getting them in the production version.
You may ignore them. We will remove them after a few more months if we don't see them asked in the production version.
If you like our products and services, please help us by posting your review here.

k.vaidas@gmail.com
Posts: 2
Joined: Sun Sep 08, 2019 11:49 pm
Contact:

Re: About Question enthuware.ocpjp.v8.2.1431 :

Post by k.vaidas@gmail.com »

I have tried example from explanation and have noticed one subtle thing.
By default my PC is set to lt_LT locale for Locale.Category.FORMAT and en_US for Locale.Category.DISPLAY.
When I run format, I get:
Short:123 tūkst. //FORMAT category lt_LT locale
Long:123 thousand //DISPLAY category en_US locale

Seems like I must know that for short style format locale is used and for long display locale? Are there more such dependencies for formatters?

Thank you.

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

Re: About Question enthuware.ocpjp.v8.2.1431 :

Post by admin »

No, thankfully you don't need to know this for the exam.
If you like our products and services, please help us by posting your review here.

Tester
Posts: 34
Joined: Mon Oct 30, 2023 11:55 am
Contact:

Re: About Question enthuware.ocpjp.v8.2.1431 :

Post by Tester »

please rename "formatter" to "shortFormat" in an explanation example.

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

Re: About Question enthuware.ocpjp.v8.2.1431 :

Post by admin »

Sure.
thank you for your feedback!
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 238 guests