Here you can find the source of valueOf(Object obj)
Parameter | Description |
---|---|
obj | the object whose string value is to be returned |
public static String valueOf(Object obj)
//package com.java2s; //License from project: Open Source License public class Main { /**/*w ww .j a v a2 s.c o m*/ * Returns the string value of the object. * * @param obj the object whose string value is to be returned * @return the string value of the object * @see {@link String#valueOf(Object obj)} */ public static String valueOf(Object obj) { return String.valueOf(obj); } }