import java.lang.*; 
public class sample {
public static void main(String[] args)
{
Integer p = new Integer(8);
String str = "7"; //line 10
System.out.println("Integer Value = " +
p.valueOf(str));
}
}
predict the output?

Posted on by