import javax.swing.JOptionPane;
public class Soma {
public static void main (String args[])
{
String numero1,numero2;
int num1,num2,total;
numero1 = JOptionPane.showImputDialog(“Digite o 1º numero:”);
numero2 = JOptionPane.showImputDialog(“Digite o 2º numero:”);
num1 = Integer.parseInt (numero1);
num2 = Integer.parseInt (numero2);
total = num1+num2;
JOptionPane.showMessageDialog(null,“A soma dos numeros e” + total,
“Resultado total”,JOptionPane.PLAIN_MESSAGE);
System.exit(0);
}
}
JOptionPane.showImputDialog
^
error
Alguem pode me ajudar a solucionar esse erro!!!