convert object address to string in java code example
Example: convert object address to string in 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