What is the difference between array and arraylist?
what is the difference between arraylist and linkedlist?
Answer Posted / satya
Every body missed out one main difference i.e Array used to
store primitive data(of type int,char etc.,) values where
as Arraylist is user to store objects.
| Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
Can a abstract class be declared final?
What is the primary benefit of encapsulation?
When would you use a static class?
How will you calculate the depth of a binary tree if the tree contains 15 nodes?
Is constructor inherited?
What does the string method compareto () do?
5 Coding best practices you learned in java?
What is the difference between procedural and object-oriented programs?
How do you sort in descending order in java using collections sort?
What is the use of using enum to declare a constant?
Explain about class in java?
Can we have any code between try and catch blocks?
What is gui programming?
What is stack example?
What is java and its types?