try this :
class randm{
long i = 0;
for(int j=0 ; j<10; j++)
{
i = (Math.random()*100000+100000);
System.out.println(i+" ");
}
}
try this :
class randm{
long i = 0;
for(int j=0 ; j<10; j++)
{
i = (Math.random()*100000+100000);
System.out.println(i+" ");
}
}