how to convert string to object of a class in java code example
Example: how to convert a string to object in java
String string = "Hello, World!";
Object obj = string;
String string = "Hello, World!";
Object obj = string;