Given the following statement:

            public ArrayList<Person> friends = new ArrayList<Person>();
          
Which of the following is true?

Any object that is a subclass of Person can be added to friends
  • Any generic that is passed to ArrayList can be added to friends
  • Any object can be added to friends
  • Any object that is passed to ArrayList can be added to friends

There are no hints for this question