Read this for info on how to use code tags and other useful newcomer info.
The import statement:
import java.*;
does not import "everything." To know exactly what the import needs to be to import a specific class, go to that class' API page. In this case, visit the
ArrayList API page. Notice the line just above the big, bolded class name on that page is the hierarchy "java.util" which is then shown from java.lang.Object all the way to java.util.ArrayList just below the big, bolded class name. So, the import statement needed to use ArrayList is:
import java.util.ArrayList;
As for the other problems with your code, after you've applied the import and modified the code to use ArrayList properly (or as best you can), then come back WITH CODE and problem descriptions that you need help with. Please post the code properly which you'll know how to do after reading the first link in this post. Show sample runs, if possible.
Quit angling for the sympathy vote with your novice status and get to work. We've all been there and know what it takes to climb the ladder.