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
Explain java coding standards for classes or java coding conventions for classes?
What are the methods used to implement for the key object in the hash map?
What is widening and narrowing in java? Discuss with an example.
What does a boolean method return?
Explain creating threads by implementing runnable class?
Discuss different types of errors that generally occur while programming.
Explain hashset and its features?
What is mnemonic code?
What is meant by nested loop?
Why singleton pattern is better than creating singleton class with static instance?
What is the use of inner class?
What is the difference between equals() and?
What does mean in regex?
what are synchronized methods and synchronized statements? : Java thread
Can we use return in constructor?