ola to com um problem no meu arkivo, e não consigo acha-lo alguem poderia me ajudar???
public class teste extends JFrame
{
public static void main(String args[])
{
//Random random = new Random();
//int a = random.nextInt();
int var1[5];
String teste="";
for(int i=0;i<=5;i++)
{
var[i]=(int)Math.floor(Math.random()*100);
teste +=" "+var1[i];
}
JOptionPane.showMessageDialog(null, "\t"+teste"\n");
System.exit(0);
}
}
Editado por JavaTeco. Quando tiver código no post, por favor, utilize a tag Code para melhorar a visibilidade. Obrigado.