In this example we will discuss about MessageFormat class and how to use it to write messages. MessageFormat takes a set of objects, formats them, then inserts the formatted strings into the pattern at the appropriate places. MessageFormat extends the Format class, which is an abstract base class for formatting locale-sensitive information such as dates, […]