Przykład StringBuilder w Javie

public static void main(String args[]){
  	
	StringBuilder sb=new StringBuilder("Hello "); //init 		
	sb.insert(1,"Java");//now original string is changed  
	System.out.println(sb);//prints HJavaello  
}  
Glorious Gharial