Introduction
The valueOf(String s)
method is a method of the java.lang
package and is a part of the Integer
class. It returns an Integer
object from the string that is passed as an argument. In this lab, you will learn how to use the valueOf
method to return an Integer
object for a given string.