Question: What is one difference between an array and an arraylist?Select one A . Arrays are static in length while an arraylist can grow or shrink

What is one difference between an array and an arraylist?Select one
A. Arrays are static in length while an arraylist can grow or shrink during program execution.
B. Arrays are used only for primitive data types such as strings and ints while arraylists are used to store objects.
C. Arrays cannot be declared as a property of a class but arraylist may be properties of a class.
D. Arrays are not permitted in C# but are used in other C-like languages such as Java.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!