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
Explain the reason behind ending a program with a system.exit(0)?
What is a priority queue java?
Which class is the superclass for every class in java programming?
Is it possible to override private or static method in java?
Does java map allow duplicates?
What is widening and narrowing in java? Discuss with an example.
Explain about oops concepts.
What is java object name?
What does system out println () do?
What is method overloading in JAVA? Why is it not present in C ?
What is space character in java?
Is a boolean 1 bit?
Are private methods final?
What are the different types of inner classes?
What is a double?