Introduction
Here is the source code for Main.java
Source
//package com.java2s;
public class Main {
/**
*
* @param obj
* @return
*/
public static String object2String(Object obj) {
String str = "";
if (obj != null) {
str = String.valueOf(obj);
}
return str;
}
}