import javax.swing.JOptionPane;
public class Test {
public static void main(String[] args) {
String s=JOptionPane.showInputDialog("输数");
int A =Integer.parseInt(s);
System.out.println(A);
}
}
单纯是的int....这样可以吧??
public class Test {
public static void main(String[] args) {
String s=JOptionPane.showInputDialog("输数");
int A =Integer.parseInt(s);
System.out.println(A);
}
}
单纯是的int....这样可以吧??