Multiple choice

Which of the following methods is/are used to return the preferred locale for the content that the client will accept?

  1. public java.util.Enumeration getLocales()

  2. public java.util.Locale getLocale()

  3. Both (1) and (2)

  4. public java.util.Locales getLocale()

  5. None of these

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

This method returns the preferred locale for the content that the client will accept.