

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- 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 Questions & Answers
- Difference between length of Array and size of ArrayList in Java
- What is the difference between Vector and 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?
- Get the size of an ArrayList in Java
- What is the difference between MySQL LENGTH() and CHAR_LENGTH() function?
- Difference between ArrayList and CopyOnWriteArrayList in Java
- Difference between ArrayList and HashSet in Java
- Difference Between List and ArrayList in Java
- Difference Between ArrayList and Vector in Java
- What is the difference between Java and Core Java?
- What is the difference between Java and Java EE
- What is the difference between Java and JavaScript?
- What are the differences between length and length () in Java?
- What is the difference between array_merge and array + array in PHP?
Advertisements