if i know the lenght of collection in hand, should I use Array or Arraylist? justify
Answer Posted / guest
If lenght of collection is known Array is prefered to use
because Arraylist is resizable where as array has constant
size and array is more faster than ArrayList.
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
difference between ejb,struts,hibernate,spring and jsp
Have you used threads in Servelet?
Is the infobus client side only?
what is the use of State Factories?
What is the purpose of the wait(), notify(), and notifyall() methods?
What is message driven beam?
What are transaction attributes?
Where can I ask questions and make suggestions about seam?
What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?
what is meant by JRMP?
What are the call back methods in entity bean?
What is the difference between a static and a non-static inner class?
What is the diffrence between a local-tx-datasource and a xa-datasource?
What is the argument type of a programs main() method?
What are the different methods of identifying an object?