SyntaxFix
Write A Post
Hire A Developer
Questions
Its possible you don't need to know depending on what you are doing with it.
String myString = object.toString();
or if object can be null
String myString = String.valueOf(object);