<<< Constructors of the ArrayList class     Index     Code that uses an array list of type String >>>

22. Common methods of the ArrayList class


  • add(object)

  • add(index, object)

  • clear()

  • contains(object)

  • get(index)

  • indexOf(object)

  • isEmpty()

  • remove(index)

  • remove(object)

  • set(index, object)

  • size()

  • toArray()


<<< Constructors of the ArrayList class     Index     Code that uses an array list of type String >>>