A ResourceBundle is a group of related sub classes which are _____________

Options
- having different base names
- sharing the same base name


CORRECT ANSWER : sharing the same base name

Discussion Board
Resource bundles

Resource bundles is a group of related subclasses which are sharing the same base name and it contains locale-specific objects. Whenever a program needs a locale-specific resource for example if there is a requirement for the string then the program can request and load it from the resource bundle. It provides the appropriate information for the current user's locale. Using this method you can write the program code which is independent of the user's locale by isolating locale-specific information in resource bundle.

They allow the program to be written in the following way:

Program that can be easily localized or translated from one language to another
Program that can handle mutliple locales at once.
Program that can be easily modified with the support of more locales

Rohit Sharma 08-3-2014 03:28 PM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement