What are the similarities between an array and an ArrayList?
Answers were Sorted based on User's Feedback
Answer / manikandan [ gtec,vellore ].
both array and arraylist can store a duplicate elements in
un ordered way.
Is This Answer Correct ? | 14 Yes | 0 No |
Answer / paks
Array is a create space of fix size while Arraylist is
depand on dynamic base .it create size depend on dynamic based
Is This Answer Correct ? | 5 Yes | 8 No |
An array is indexed fixed number of homogeneous elements.
where as in ArrayList you can create any number of objects
with any type.
Is This Answer Correct ? | 4 Yes | 10 No |
basic difference b/w ALL types of JDBC driver.
What about interrupt() method of thread class ?
What is the return type of a program?s main() method?
How do you override a variable in java?
what is difference between abstract factory and factory design patterns?
What are packages and name a few?
Suppose if we have variable ' I ' in run method, if I can create one or more thread each thread will occupy a separate copy or same variable will be shared?
Write a program to print 15 random numbers using foreach of java 8?
What do you understand by an io stream?
what is the use of reference variable
What is the purpose of the finally clause of a try-catch-finally statement in java programming?
what is collatration?