Java Convert String to Object
public class StringToObjectExample{
public static void main(String args[]){
String s="hello";
Object obj=s;
System.out.println(obj);
}}
Output:
hello
