Code example for ArrayList

Methods: addcontains