An arraylist is a statically allocated data structure
(false){because ArrayList
can resize itself to grow when required means ArrayList is dynamic
in nature.}
Program efficiency is best calculated by counting the execution
times of programs (true) {Agood program is correct, but a great program is
both correct and efficient. The most efficient program is one that
takes the least amount of execution time and memory usage possible
while still yielding a correct answer.}
There are algorithms that are cheaper, hence faster than
O(N2) when sorting a highly unsorted list
(true) {
merge sortwork faster O(nlogn) when sorting a
highly unsorted list ( worst case).}
Java handles cleanup of unreferenced objects in memory
automatically (true) { yesjava use garbage collector to remove the
unreferenced objects from heap memory.} do like if it is
helpful.