Returns a String object representing the specified integer.

static Integer valueOf(int i)

Returns an Integer object holding the value of the specified primitive.

static Integer valueOf(String s)

Returns an Integer object holding the value of the specified string representation.

static Integer valueOf(String s, int radix)

Returns an Integer object holding the integer value of the specified string representation, parsed with the value of radix. For example, if s = "333" and radix = 8, the method returns the baseten integer equivalent of the octal number 333.

Recommended Readings

About Author

Myself KarthiQ, I am the author of this blog, I know ways to write a good article but some how I donot have the skills to make it to reach people, would you like help me to reach more people By sharing this Article in the social media.

Share this Article Facebook
Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions