Provide a string representation of various data types.
char[] |
The valueOf() method furnishes the string representation of the specified value.
One of the following:
public |
public |
public |
public |
public |
public static String valueOf(float data) |
public static String valueOf(int data) |
public |
public |
|
Parameter |
Description |
|
data |
Necessary. The data to be depicted as a string. |
|
start |
Optional. If a char array is supplied, a portion of the array can be depicted. This parameter indicates the starting point of the subset. |
|
length |
Optional. In case a char array is given, a segment of the array can be illustrated. This parameter denotes the length of that segment. |
|
Returns |
A representation of the argument as a string. |
|
Throws |
IndexOutOfBoundsException occurs if either start or length is negative, or if the sum of start and length exceeds the length of the array. |
|
Java Version |
Any |