Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

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
 
PREVIOUS NEXT
Tagged: #convert #object #address #string #java
ADD COMMENT
Topic
Name
4+2 =