Difference between array and arraylist.

Answer Posted / raja

The Methods Of ArrayList class are
1)Add
2)Remove
3)Clear

5)TrimToSize
6)Sort
7)Reverse

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we need array in java?

525


What will happen to the exception object after exception handling?

566


Why object class is super class for every class in java?

559


What is passing by reference in java?

533


How to connect to a remote database using Applet?

2036






What is meant by oops concept in java?

499


Can you make a constructor final in Java?

618


What is tree in java?

482


What is casting in java programming?

572


How many threads can I run java?

533


Can static methods be inherited?

527


Why can't we override private static methods?

509


What is predicate in java?

553


Can we declare a static variable inside a method?

519


What are the two ways of implementing multi-threading in java?

804