question: register an action event listener concode_field_sep ArrayList<ActionListener> actionListenerList concode_elem_sep int enrollmentCap concode_elem_sep ArrayList<String> students concode_elem_sep String courseName concode_field_sep int getEnrollmentCap concode_elem_sep void addStudent concode_elem_sep ArrayList<String> getStudents concode_elem_sep int getNumberOfStudents concode_elem_sep void setEnrollmentCap concode_elem_sep void removeActionListener concode_elem_sep void processEvent concode_elem_sep String getCourseName
target: void function ( ActionListener arg0 ) { if ( actionListenerList == null ) { actionListenerList = new ArrayList < ActionListener > ( 2 ) ; } if ( ! actionListenerList . contains ( arg0 ) ) { actionListenerList . add ( arg0 ) ; } }