Following are the errors in the posted code.
import java.util.*; /*Correct keyworkd is import */
public class ArrayListTest
{
public static void main(String [] args){
ArrayList a1=new ArrayList();
Student s1=new Student ("ali", 1);
Student s2=new Student ("Saad", 2);
Student s3=new Student ("raza", 3);
al.add(s2);
al.add(s3);
if (b==true){
System.out.println("arraylist size::" +size);}
else{