Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Introduction to Arrays and ArrayList in Java

Kunal Kushwaha via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Dive deep into the world of Arrays and ArrayList in Java with this comprehensive video tutorial. Learn about the fundamentals, memory management, input/output operations, multidimensional arrays, dynamic arrays, and function interactions. Explore practical applications through hands-on coding exercises, including swapping array values, finding maximum values, and reversing arrays. Gain a thorough understanding of array syntax, internal workings, and advanced concepts like dynamic memory allocation and object storage in heap memory. Master essential skills for data structures and algorithms, preparing you for technical interviews and real-world programming challenges. Engage with the #DSAwithKunal community by sharing your learnings on social media and accessing additional resources, including a complete Java DSA playlist and GitHub repository for code, assignments, and notes.

Syllabus

Introduction ‌‍‍‍‌‌‍‍ ‌‍‍‌‌‌‌‍ ‌‍‍‌‍‍‌‍ ‌‍‍‌‍‌‍‌ ‌‍‍‌‍‍‍‌ ‌‌‍‍‌‌‌‌ ‌‌‍‍‍‌‌‌
Why we need Arrays?
What is an Array?
Syntax of an Array
Direct hit Program : Store 5 Roll Numbers
How does Array works?
Internal Working of an Array
Dynamic Memory Allocation
Internal Representation of Array
Continuity of an Array
Index of an Array
String Array
What is null in Java?
null is used as a default
Array Input
for-each loop
toString Method
Array of Objects
Storage of Objects in Heap
Array Passing in Function
Multidimensional Arrays
Syntax of a 2D Array
Internal Working of a 2D Array
2D Array Input
2D Array Output
Dynamic Arrays
Array Functions
Internal Working of ArrayList
Questions
Q1 : Swaping Values in an Array
Q2 : Maximum Value of an Array
Q3 : Reversing an Array
Outro

Taught by

Kunal Kushwaha

Reviews

Start your review of Introduction to Arrays and ArrayList in Java

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.