Stuff
public text v1 · immutablepublic static void main(String [] args)
{
String nrCnpj = "";
int []num = new int[12];
nrCnpj = JOptionPane.showInputDialog("Entre com os números do CNPJ: ");
for(int i = 0 ; i<nrCnpj.length() ;i++)
{
num[i] = new Integer(" "+nrCnpj.charAt(i)).intValue();
}
}