Java Object Value Of valueOf(Object obj)

Here you can find the source of valueOf(Object obj)

Description

Returns the string value of the object.

License

Open Source License

Parameter

Parameter Description
obj the object whose string value is to be returned

Return

the string value of the object

Declaration

public static String valueOf(Object obj) 

Method Source Code

//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);
    }
}

Related

  1. valueOf(final Object o)
  2. valueOf(Object o)
  3. valueOf(Object o)
  4. valueOf(Object o)
  5. valueOf(Object obj)
  6. valueOf(Object obj)
  7. valueOf(Object object)
  8. valueOf(Object value)