class ImmutabilityWithString 
{
	public static void main(String[] args) 
	{
		String x="James Bond";
		x.concat("Hello "+x);		
		System.out.println(x);

		System.out.println("\n\n========\n\n");

		String x1="Hello Mr. ";
		StringBuffer sb=new StringBuffer(x1);
		sb.append("James Bond");
		System.out.println(sb);
	}
}
