What is the ResourceBundle?
Answer Posted / ajay
ResourceBundle is a property file handler with locales
support, it allows you to support multiple languages in
your application. There's a full explaination on what
ResourceBundle is and how it has to be used in the javadoc.
Yes, ResourceBundle can be used instead of the Properties
class. It would be particularly usefull when developing
applications for different languages. The ResourceBundle
class will find the correct properties file based on the
current user locale.
The advantages of using ResourceBundle taken from the
javadoc This allows you to write programs that can:
be easily localized, or translated, into different
languages
handle multiple locales at once
be easily modified later to support even more locales
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is externalizable interface?
What do you mean by ordered and sorted in collections in java?
Name few java 8 annotations ?
What is boolean in java?
Is there any sort function in java?
Can you pass by reference in java?
Are arrays classes in java?
Explain the difference between map and flatmap stream operation?
Is null an object in java?
What are the different types of methodologies?
When will we use them?
What are the pillars of java?
Does constructor return any value?
What is meant by binding in rmi?
How do you do absolute value in java?