Question 1
The JVM stores the array in an area of memory, called ________, which is used for dynamic memory allocation where blocks of memory are allocated and freed in an arbitrary order.
◦ stack
◦ dynamic memory
◦ memory block
◦ heap
Question 2
When you return an array from a method, the method returns ________.
◦ a copy of the first element
◦ the reference of the array
◦ the length of the array
◦ a copy of the array