Page 1 of 1
About Question enthuware.ocpjp.v8.2.1431 :
Posted: Tue Oct 20, 2015 9:58 am
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
Re: About Question enthuware.ocpjp.v8.2.1431 :
Posted: Tue Oct 20, 2015 11:16 am
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.
Re: About Question enthuware.ocpjp.v8.2.1431 :
Posted: Thu Jan 05, 2023 7:24 am
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.
Re: About Question enthuware.ocpjp.v8.2.1431 :
Posted: Thu Jan 05, 2023 8:03 am
by admin
No, thankfully you don't need to know this for the exam.