- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What is the difference between the size of ArrayList and length of Array in Java?
ArrayList doesn't have length() method, the size() method of ArrayList provides the number of objects available in the collection.
Array has length property which provides the length or capacity of the Array. It is the total space allocated during the initialization of the array.
- Related Articles
- Difference between length of Array and size of ArrayList in Java
- What is the difference between ArrayList and LinkedList in Java?
- What is the difference between size and capacity of a Vector in Java?
- Difference between Array and ArrayList
- Get the size of an ArrayList in Java
- Difference between ArrayList and HashSet in Java
- Difference between ArrayList and CopyOnWriteArrayList in Java
- Difference Between List and ArrayList in Java
- Difference between ArrayList and CopyOnWriteArrayList in Java programming.
- Difference between Synchronized ArrayList and CopyOnWriteArrayList in Java
- What is the difference between array_merge and array + array in PHP?
- What is the difference between Array and NSArray?
- What is the difference between MySQL LENGTH() and CHAR_LENGTH() function?
- What is the difference between Java and Core Java?
- What is the difference between Java and Java EE

Advertisements