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
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-ArrayList
140+ articles
java-stream
130+ articles
java-LinkedList
62 articles
Java-List-Programs
55 articles
Java-Stream-programs
27 articles
java-list
89 posts
Popular Articles
Recent Articles
Iterate through List in Java
Last Updated: 03 June 2024
Lists in Java allow us to maintain an ordered collection of objects. Duplicate elements as well as null elements can also be stored in a Lis
...read more
Java
Java-Collections
Java Programs
java-list
Picked
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
List get() method in Java with Examples
Last Updated: 29 November 2024
The get() method of List interface in Java is used to get the element present in this list at a given specific index. Example:[GFGTABS]
...read more
Java
Java-Collections
Java-Functions
java-list
Similar Topics
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-ArrayList
140+ articles
java-stream
130+ articles
java-LinkedList
62+ articles
Java-List-Programs
55+ articles
Java-Stream-programs
27+ articles
List size() method in Java with Examples
Last Updated: 29 November 2024
The size() method of the List interface in Java is used to get the number of elements in this list. That is, the list size() method returns
...read more
Java
Java-Collections
Java-Functions
java-list
List contains() method in Java with Examples
Last Updated: 03 December 2024
The contains() method of List interface in Java is used for checking if the specified element exists in the given list or not. Example:[GFG
...read more
Java
Java-Collections
Java-Functions
java-list
Initializing a List in Java
Last Updated: 16 April 2025
TheJava.util.Listis a child interface ofCollection. It is an ordered collection of objects where duplicate values can be stored. Since List
...read more
Java
Technical Scripter
java-basics
Java - util package
java-list
Convert List to Array in Java
Last Updated: 17 July 2024
The List interface provides a way to store the ordered collection. It is a child interface of Collection. It is an ordered collection of obj
...read more
Java
Java-Arrays
java-list
Set to List in Java
Last Updated: 10 June 2022
Given a set (HashSet or TreeSet) of strings in Java, convert it into a list (ArrayList or LinkedList) of strings. In java, Set interface is
...read more
Misc
Java
Java-Collections
Java-ArrayList
java-treeset
java-hashset
java-LinkedList
java-stream
java-list
Java-Stream-programs
Java-List-Programs
Java-Set-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
Vector vs ArrayList in Java
Last Updated: 16 August 2024
ArrayList and Vectors both implement the List interface, and both use (dynamically resizable) arrays for their internal data structure, much
...read more
Java
Java-Collections
Java-ArrayList
java-list
Java-List-Programs
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
Java List Interface
Last Updated: 08 April 2025
The List Interface in Java extends the Collection Interface and is a part of the java.util package. It is used to store the ordered collecti
...read more
Java
Java-Collections
Java - util package
java-list
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
LinkedList in Java
Last Updated: 03 January 2025
Linked List is a part of the Collection framework present in java.util package. This class is an implementation of the LinkedList data struc
...read more
Java
Java-Collections
Java - util package
java-LinkedList
java-list
1
2
3
4
5
6
>>
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 !