Java Arrays vs. ArrayLists: Key Differences & When to Use Them ๐
Confused between Arrays and ArrayLists in Java? Discover the main differences, how to use each, and expert tips to choose the right one for your project!

Coding with John
660.0K views โข Feb 24, 2021

About this video
Arrays vs. ArrayLists - What's the difference? How do you use each of them, and which one should you use and why?
We'll go in-depth about the similarities and differences between Array and ArrayList in Java, and talk about how to create them, add elements, remove elements, and more.
This is a beginner friendly beginner's Java coding lesson tutorial, where we'll talk all about using Arrays and ArrayLists.
Learn or improve your Java by watching it being coded live!
Hey, I'm John! I'm a Lead Java Software Engineer who has been in the industry for over a decade. I love sharing what I've learned over the years in a way that's understandable.
Let me know what else you'd like to see!
Links to any stuff in this description are affiliate links, so if you buy a product through those links I may earn a small commission.
๐ THE best book to learn Java, Effective Java by Joshua Bloch
https://amzn.to/36AfdUu
๐ One of my favorite programming books, Clean Code by Robert Martin
https://amzn.to/3GTPVhf
๐ง Or get the audio version of Clean Code for FREE here with an Audible free trial
http://www.audibletrial.com/johncleancode
๐ฅ๏ธStanding desk brand I use for recording (get a code for $30 off through this link!)
https://bit.ly/3QPNGko
๐นPhone I use for recording:
https://amzn.to/3HepYJu
๐๏ธMicrophone I use (classy, I know):
https://amzn.to/3AYGdbz
Donate with PayPal (Thank you so much!)
https://www.paypal.com/donate/?hosted_button_id=3VWCJJRHP4WL2
โComplete Java course:
https://codingwithjohn.thinkific.com/courses/java-for-beginners
https://codingwithjohn.com
Full source code available here: https://codingwithjohn.com/array-vs-arraylist-source
We'll go in-depth about the similarities and differences between Array and ArrayList in Java, and talk about how to create them, add elements, remove elements, and more.
This is a beginner friendly beginner's Java coding lesson tutorial, where we'll talk all about using Arrays and ArrayLists.
Learn or improve your Java by watching it being coded live!
Hey, I'm John! I'm a Lead Java Software Engineer who has been in the industry for over a decade. I love sharing what I've learned over the years in a way that's understandable.
Let me know what else you'd like to see!
Links to any stuff in this description are affiliate links, so if you buy a product through those links I may earn a small commission.
๐ THE best book to learn Java, Effective Java by Joshua Bloch
https://amzn.to/36AfdUu
๐ One of my favorite programming books, Clean Code by Robert Martin
https://amzn.to/3GTPVhf
๐ง Or get the audio version of Clean Code for FREE here with an Audible free trial
http://www.audibletrial.com/johncleancode
๐ฅ๏ธStanding desk brand I use for recording (get a code for $30 off through this link!)
https://bit.ly/3QPNGko
๐นPhone I use for recording:
https://amzn.to/3HepYJu
๐๏ธMicrophone I use (classy, I know):
https://amzn.to/3AYGdbz
Donate with PayPal (Thank you so much!)
https://www.paypal.com/donate/?hosted_button_id=3VWCJJRHP4WL2
โComplete Java course:
https://codingwithjohn.thinkific.com/courses/java-for-beginners
https://codingwithjohn.com
Full source code available here: https://codingwithjohn.com/array-vs-arraylist-source
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
660.0K
Likes
29.8K
Duration
17:36
Published
Feb 24, 2021
User Reviews
4.8
(131) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.