Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
What is the difference between Array and ArrayList in JAVA?
Home
Questions
What is the difference between Array and...
asked
May 27, 2021
by
JackTerrance
What is the difference between Array and ArrayList in JAVA?
java-interview-questions
1
Answer
0
votes
answered
May 27, 2021
by
JackTerrance
The main differences between the Array and ArrayList are given below.
SN
Array
ArrayList
1
The Array is of fixed size, means we cannot resize the array as per need.
ArrayList is not of the fixed size we can change the size dynamically.
2
Arrays are of the static type.
ArrayList is of dynamic size.
3
Arrays can store primitive data types as well as objects.
ArrayList cannot store the primitive data types it can only store the objects.
Related questions
0
votes
Q: What is the difference between Iterator and Enumeration in JAVA?
What is the difference between Iterator and Enumeration in JAVA?...
asked
May 26, 2021
in
Education
by
JackTerrance
java-interview-questions
0
votes
Q: Which of the following option leads to the portability and security of Java?
Which of the following option leads to the portability and security of Java? a) Bytecode is executed by ... stackoverflow.com 🔗Source: Java Interview Questions and Answers...
asked
Dec 19, 2020
in
Education
by
Editorial Staff
java-mcq-questions
java
java-interview-questions
0
votes
Q: What is the difference between the length of an Array and size of ArrayList in Java?
What is the difference between the length of an Array and size of ArrayList in Java?...
asked
May 27, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: How to convert ArrayList to Array and Array to ArrayList in JAVA?
How to convert ArrayList to Array and Array to ArrayList in JAVA?...
asked
May 27, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: Explain What is the difference between length() and size() of ArrayList?
What is the difference between length() and size() of ArrayList? (a) length() and size() return the ... Collections Framework of Java Select the correct answer from above options...
asked
Mar 1, 2022
in
Education
by
JackTerrance
java
util
0
votes
Q: What is the difference between length() and size() of ArrayList?
What is the difference between length() and size() of ArrayList? (a) length() and size() return ... programming questions and answers pdf, java interview questions for beginners...
asked
Oct 25, 2021
in
Education
by
JackTerrance
essential-java-interview-questions
java-interview-questions-answers
java-multiple-choice-questions
java-mcq-with-answers
core-java-mcq
core-java-questions
0
votes
Q: What is the difference between ArrayList and LinkedList?
What is the difference between ArrayList and LinkedList?...
asked
May 26, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: What is the difference between ArrayList and Vector?
What is the difference between ArrayList and Vector?...
asked
May 26, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: Which of these methods can be used to obtain a static array from an ArrayList object?
Which of these methods can be used to obtain a static array from an ArrayList object? (a) Array() ... programming questions and answers pdf, java interview questions for beginners...
asked
Oct 25, 2021
in
Education
by
JackTerrance
essential-java-interview-questions
java-interview-questions-answers
java-multiple-choice-questions
java-mcq-with-answers
core-java-mcq
core-java-questions
0
votes
Q: How to split ArrayList by object attribute in java?
I am writing a program to optimize a transportation system. I have an ArrayList "passengers" of 65,000 ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked
Apr 12, 2022
in
Education
by
JackTerrance
javasorting
0
votes
Q: How to split ArrayList by object attribute in java?
I am writing a program to optimize a transportation system. I have an ArrayList "passengers" of 65,000 ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked
Apr 10, 2022
in
Education
by
JackTerrance
javasorting
0
votes
Q: What is the difference between pointer to an array and array of pointers?
What is the difference between pointer to an array and array of pointers?...
asked
Jan 22, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: Explain What is difference between dequeue() and peek() function of java?
What is difference between dequeue() and peek() function of java? (a) dequeue() and peek() remove and ... Collections Framework of Java Select the correct answer from above options...
asked
Mar 1, 2022
in
Education
by
JackTerrance
java
util
0
votes
Q: Is there any difference of the floating point type between Java and C?
I am importing a project from C to Java which involves a lot of floating-point arithmetic. Are there ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked
Feb 26, 2022
in
Education
by
JackTerrance
javac
0
votes
Q: Is there any difference of the floating point type between Java and C?
I am importing a project from C to Java which involves a lot of floating-point arithmetic. Are there ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked
Feb 26, 2022
in
Education
by
JackTerrance
javac
...