What is the ResourceBundle?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / ravikiran
resource bundle is to save the message as key value pairs
| Is This Answer Correct ? | 1 Yes | 2 No |
How to make a class or a bean serializable?
What is the use of using enum to declare a constant?
What is meant by Servelet? What are the parameters of service method?
In which way does a Primitive data type is passed ?
Why is stringbuffer called mutable?
What is factor r?
How to perform selection sort in java?
Which of the following classes will have more memory allocated?
What are basic data types?
Explain about the security aspect of java?
Which class is extended by all other classes?
How to define a constant variable in Java?