Difference between array and arraylist.
Answer Posted / nikhil agrawal
array contain the similar datatype element and their size is fixedd where as arraylist contain object and their size is not fixed as aaray and it can grow dynamically. and we can applied so many method on arraylist like add,remove,clear,size etc
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is a buffer in computer?
Is array passed by reference in java?
What is the use of optional ?
Define packages in java?
What does percent mean in java?
Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.
Difference between serialization and deserialization in java?
I am a fresher and know core java, c languge, html, css etc if I am illegible for any job then send it on my email tatranakshay276@gmail.com
How do you sort in ascending order in java?
What is the purpose of lambda expressions?
What is hashing principle in java?
What is data object example?
Can a class be a super class and a sub-class at the same time? Give example.
is there a separate stack for each thread in java? : Java thread
What is meant by object?