// CS1101 (AY2007/8 Semester 1)
// Practice exercise for PE
// IntegerList.java 
// Written by: Aaron Tan
/**
 * IntegerList class contains an array of integers as its data member.
 * This is an incomplete code.
 */

public class IntegerList {
   
   // Data member
   int[] list; 

   // Constructor
   public IntegerList(int size) {
      list = new int[size];
   }

   // Accessor
   public int[] getList() {
      return list;
   }

   // Mutator
   public void SetList(int[] arr) {
      list = arr;
   }

   // Compute an estimate value for pi
   public double estimatePI() {

      // fill in your code here

   }

}

