Олимпиадный тренинг

Задача . 37339


Задача

Темы:
Consider writing a program that produces statistics for long lists of numerical data. Which of the following is the best reason to implement each list with an array of int (or double), rather than an ArrayList of Integer (or Double) objects?
(A) An array of primitive number types is more efficient to manipulate than an ArrayList of wrapper objects that contain numbers.
(B) Insertion of new elements into a list is easier to code for an array than for an ArrayList.
(C) Removal of elements from a list is easier to code for an array than for an ArrayList.
(D) Accessing individual elements in the middle of a list is easier for an array than for an ArrayList.
(E) Accessing all the elements is more efficient in an array than in an ArrayList.

time 1000 ms
memory 32 Mb
Правила оформления программ и список ошибок при автоматической проверке задач

Статистика успешных решений по компиляторам
Комментарий учителя