I'm starting to learn java, but I need someone to help meon this. Write an application that calculates and stores the first 100prime number (starting at 1) in a list. Use an iterator to displaythe numbers. Please explain it with comments, so I can go throught it easy;especially the ones at the beginning, because I sometime findit hard to start. I'm starting to learn java, but I need someone to help meon this. Write an application that calculates and stores the first 100prime number (starting at 1) in a list. Use an iterator to displaythe numbers. Please explain it with comments, so I can go throught it easy;especially the ones at the beginning, because I sometime findit hard to start.
Explanation / Answer
please rate - thanks import java.util.*; public class untitled {public static void main(String[] args) {int i=0,n=1,j,total; int [] num=new int[100]; while(i