已知一种方法:num= Integer.parseInt(str)现用这种方法:
import java.io.*;
public class A
{
  public static void main(String[] args)
  {
    String str= "1234";  int num;
    num= Integer.valueOf(str).integerValue(); 
    System.out.println("the change is: "+ num);
  }
}编译时为何总显示找不到这种方法:method integerValue()
是否是程序第一句路径 import java.io.*; 引用不对我是初学者