File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Certification
»
Programmer Certification (SCJP/OCPJP)
Author
en_GB Locale
Byju Joy
Ranch Hand
Joined: Sep 06, 2005
Posts: 84
posted
Nov 09, 2009 07:33:01
0
Source: Devaka ExamLab practise 2. Q 31
UK English locale is created using
new Locale("en", "GB")
However explanation given in exam lab suggests
new Locale("en", "uk")
The original question is about first parameter of Locale constructor - the language parameter. Still suggestion on country code is misleading.
Deepak Bala
Bartender
Joined: Feb 24, 2006
Posts: 6588
1
I like...
posted
Nov 09, 2009 09:34:37
0
Can you post the entire question here ? Not every one will have the simulator installed and some use Linux / macs
SCJP 6 articles
-
SCJP 5/6 mock exams
-
SCJP Mocks
-
SCJP 5 Mock exam (Word document )
-
SCJP 5 Mock exam in Java.Inquisition format
Ankit Garg
Saloon Keeper
Joined: Aug 03, 2008
Posts: 9189
2
I like...
posted
Nov 09, 2009 10:06:58
0
As given
here
it should be GB not uk...
SCJP 6 | SCWCD 5 |
Javaranch SCJP FAQ
|
SCWCD Links
Ankur kothari
Ranch Hand
Joined: Sep 06, 2009
Posts: 531
posted
Nov 10, 2009 04:03:08
0
by the way i dont think there will be questions on countries asked in the exam
kavitha yogaraj
Greenhorn
Joined: Apr 21, 2010
Posts: 19
posted
Jul 06, 2010 16:41:56
0
Ankur kothari wrote:
by the way i dont think there will be questions on countries asked in the exam
Ya, I do think the same. Do we have to remember any lang codes or country codes for the exam?
I agree. Here's the link:
jrebel
subject: en_GB Locale
Similar Threads
Class Locale
Exception in locale
Different Locale's , same JVM
Remove Currency Format - Can i parse back to a double?
JSF and Locale
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter