Перейти к содержанию

ArrayList: список, который растет

English

A list that can grow

  • An array has a fixed size. Once you make it, the length cannot change.
  • An ArrayList is a list that can grow and shrink while the program runs.
  • You must import it at the top of the file: import java.util.ArrayList;.

Раздаточный материал

Войти или создать аккаунт

IGCSE, A-Level & AP