This post originated from an RSS feed registered with Java Buzz
by Kiran Kumar.
Original Post: Top 3 Java Text Formatting examples : MessageFormat
Feed Title: Java,Maven,Linux,Unix,Hadoop,HDFS,Hive basic tutorials,examples
Feed URL: http://www.cloudhadoop.com/feeds/posts/default
Feed Description: My Blog on Java,Maven Unix, Linux,Hadoop,MySQL,tutorial with examples
Why MessageFormat is introduced:-
Before MessageFormat is introduced, we used to process the messages using String concatenation,
the disadvantages with String class processing is Strings are immutable objects, more objects are created in heap memory
and these messages order is not same for every language, because of this problems,
Sun has introduced text format classes like MessageFormat