@ -31,6 +31,22 @@ public class Administration {
professors.add(professor);
}
public boolean deleteAdmin(String AdminID)
{
for(Admin admin : admins )
if(admin.getId().equals(AdminID)){
professors.remove(admin);
return true; //Course found and removed
return false;