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


Please Help Members By Posting Answers For Below Questions

What is arraylist e?

559


Can I import same package/class twice?

494


Can a string be null?

542


What is identifier give example?

553


Can we inherit inner class?

523






What is the final keyword?

551


What is entry in java?

534


Can java run on google chrome?

569


What is the difference between inner class and nested class?

548


What is a nested structure?

535


What is a nested list?

522


Can I learn java in 3 months?

541


What is a string what operation can be performed out with the help of a string?

509


Why is string builder not thread safe?

591


Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.

2370