Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
Python
C
C++
Java
Courses
Machine Learning
DevOps
Web Development
System Design
Aptitude
Projects
Sign In
▲
Similar Topics
DSA
22.3k+ articles
Java
10.1k+ articles
Java-Functions
4.1k+ articles
Java Programs
2.1k+ articles
Java - util package
1.5k+ articles
Java-Collections
1.1k+ articles
Java-Arrays
160+ articles
Java-Array-Programs
100+ articles
java-list
89 articles
Java-List-Programs
55 articles
Java-ArrayList
140+ posts
Popular Articles
Recent Articles
Difference between List and ArrayList in Java
Last Updated: 05 March 2024
A Collection is a group of individual objects represented as a single unit. Java provides a Collection Framework which defines several class
...read more
Java
Java-Collections
Difference Between
Java-ArrayList
java-list
How to Remove Duplicates from ArrayList in Java
Last Updated: 11 December 2018
Given an ArrayList with duplicate values, the task is to remove the duplicate values from this ArrayList in Java.Examples:Input: List = [1,
...read more
Java
Java-Collections
Java-ArrayList
java-LinkedHashSet
Java-List-Programs
Java ArrayList subList() Method
Last Updated: 12 December 2024
The subList() method of the ArrayList class in Java is used to retrieve a portion of an ArrayList between specified indices. When we perform
...read more
Java
Java-Collections
Java-ArrayList
Similar Topics
DSA
22.3k+ articles
Java
10.1k+ articles
Java-Functions
4.1k+ articles
Java Programs
2.1k+ articles
Java - util package
1.5k+ articles
Java-Collections
1.1k+ articles
Java-Arrays
160+ articles
Java-Array-Programs
100+ articles
java-list
89+ articles
Java-List-Programs
55+ articles
Initialize an ArrayList in Java
Last Updated: 07 April 2025
ArrayList is a part of the collection framework and is present in java.util package. It provides us dynamic arrays in Java. Though it may be
...read more
Java
Technical Scripter
Java-ArrayList
Picked
Technical Scripter 2018
Java-List-Programs
ArrayList forEach() Method in Java
Last Updated: 10 December 2024
In Java, the ArrayList.forEach() method is used to iterate over each element of an ArrayList and perform certain operations for each element
...read more
Java
Java-Collections
Java-ArrayList
Arraylist.contains() Method in Java
Last Updated: 10 December 2024
In Java, the ArrayList contains() method is used to check if the specified element exists in an ArrayList or not.Example: Here, we will use
...read more
Java
Java-Collections
Java-ArrayList
ArrayList get(index) Method in Java with Examples
Last Updated: 10 December 2024
The get(index) method of ArrayList in Java is used to retrieve the element at the specified index within the list.Example 1: Here, we will u
...read more
Java
Java-Collections
Java-ArrayList
Java Arraylist indexOf() Method
Last Updated: 10 December 2024
The indexOf() method in Java is used to find the index of the first occurrence of a specified element in an ArrayList.Example 1: Here, we wi
...read more
Java
Technical Scripter
Java-Collections
Java-ArrayList
Iterating over ArrayLists in Java
Last Updated: 04 June 2024
ArrayList is a part of collection framework and is present in java.util package. It provides us with dynamic arrays in Java. Though, it may
...read more
Java
Java-ArrayList
Java-List-Programs
Conversion of Array To ArrayList in Java
Last Updated: 26 October 2021
Following methods can be used for converting Array To ArrayList:Method 1: Using Arrays.asList() method Syntax: public static List asList(T..
...read more
Java
Java-Collections
Java-ArrayList
java-list
Java-Array-Programs
Java-List-Programs
ArrayList to Array Conversion in Java : toArray() Methods
Last Updated: 04 January 2025
Following methods can be used for converting ArrayList to Array:Method 1: Using Object[] toArray() methodSyntax: public Object[] toArray() I
...read more
Java
Java-Collections
Java - util package
Java-Arrays
Java-Functions
Java-ArrayList
How to remove an element from ArrayList in Java?
Last Updated: 04 January 2025
ArrayList is a part of collection framework and is present in java.util package. It provides us with dynamic arrays in Java. Though, it may
...read more
Java
Java-Collections
Java-ArrayList
java-list
Java-List-Programs
ArrayList vs LinkedList in Java
Last Updated: 24 August 2023
An array is a collection of items stored at contiguous memory locations. The idea is to store multiple items of the same type together. Howe
...read more
Java
Java-Collections
Difference Between
Java-ArrayList
java-LinkedList
java-list
ArrayList in Java
Last Updated: 12 March 2025
Java ArrayList is a part of the collections framework and it is a class of java.util package. It provides us with dynamic-sized arrays in Ja
...read more
Java
Technical Scripter
Java-Collections
Java - util package
Java-ArrayList
java-list
Array vs ArrayList in Java
Last Updated: 24 March 2025
In Java, an Array is a fixed-sized, homogenous data structure that stores elements of the same type whereas, ArrayList is a dynamic-size, pa
...read more
Java
Java-Collections
Java - util package
Java-Arrays
Difference Between
Java-ArrayList
Java-Array-Programs
Java-List-Programs
1
2
3
4
5
6
7
8
>>
Last
1
2
3
4
5
6
>>
Last
1
2
3
4
>>
Last
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !