public class Employee
public static void main(String args)
Scanner sc=new Scanner(System.in);
System.out.println("Input Name: ");
System.out.println("Input Salary: ");
System.out.println("More Entry? (Y/N): ");
else if (Entry=N)
//arraylist goes here
}//ends main method
}//end of class
I recommend that you study arrays and array lists. Then put them into the class above where i said "array list goes here".
I hope this gives you somewhere to start and is some use.
If you are having problems with this email me:)