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
Is 0 a real number?
Write a function for palindrome and factorial and explain?
What is externalizable interface?
What does sizeof return?
Define locale.
How does regex work?
What is a list in java?
Is it compulsory for a try block to be followed by a catch block in java for exception handling?
Explain the polymorphism principle?
What is parameters example?
Why does java have two ways to create child threads?
Why main() method is public, static and void in java ?
Explain about varargs in java?
What is difference between pointer and reference?
Difference between static and dynamic class loading.