Unger Technologies LLC

GREG UNGER MY FACEBOOK ATHLETE PAGE MY YOUTUBE CHANNEL Follow me on Twitter FOLLOW ME ON TWITTER

What is the difference between an Array and an ArrayList?

  • Arrays are strongly typed.
  • ArrayLists are not strongly typed.
  • Arrays are fixed length and cannot be resized dynamically during runtime.
  • ArrayList can resize dynamically during runtime.
  • Elements in an ArrayList can have a combination of combined data types or a single data type. 



Note: If an ArrayList has combined data types then a type cast is a must.

No comments:

Post a Comment