Konversi alamat objek ke string di java

public class ObjectToString{
public static void main(String args[]){
String se="HELLO";
StringBuilder a=new StringBuilder(se);
a.reverse();
String rev=a.toString();//converting StringBuilder to String
Bright Beetle