i have an arraylist called Module, i want to create a method that will delete a module from the ArrayList based on the index passed as the parameter. this is what i have so far but it isn't working. any suggestions please (beginner)? Simon
/**
* This method deletes a module object from the ArrayList
* @param theModule The module object that will be deleted from the ArraList
*/
public void deleteModule (Module theModule)
{
modules.delete(theModule);
}