Which two code blocks correctly initialize a Locale variable?
A.
Locale loc1 = “UK”;
B.
Locale loc2 = Locale.get Instance ( “ru” );
C.
Locale loc3 = Locale.getLocaleFactory(“RU”);
D.
Locale loc4 = Locale.UK;
E.
Locale loc5 = new Locale(“ru”, “RU”);
Explanation:
The Java Tutorials,Creating a Locale