valueOf() method

Let us understand valueOf() method valueOf() is used to convert different types of values to String type. String class has overloaded valueOf() methods for all the primitive types and for object type Signature of overloaded valueOf() methods public static String valueOf(boolean b) public static String valueOf(char c) public static String valueOf(char[] c) public static String […]

Share this article on