package my_package;
my_object obj_instance;
String my_string;
my_string = obj_instance.toString();
System.out.println(my_string) ;
// gives my_package.my_object@asj128
// I've lost track of obj_instance but it in memory
// and I want to recover it from my_string , like
my_object obj_instance1
obj_instance1 = ( my_object) my_string ;
some thing like string to object converstion
how can we do this ?
obviously above typecasting doesn't work in Java :)