what is difference between vector and arraylist?.
Answer Posted / srinivas
Vector is synchronized and compare to array list this slow
access, by defaulst the vector is 10,this is legacy class
Where as arraylist is unsynchronized and fast random
access,in arraylist there is no default size automatically
it is growable once the object is created it will be
allocated,this is advanced class.
Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
How is hashset maintained in memory by java ?
Which interface does java.util.hashtable implement?
What are the types of the main implementing classes in the map interfaces? : java collections
What are the types of interface used in the java collections? : java collections
my interviewer asked me what technical specification you used how to answer that question
Hi we have an urgent requirement for Java/J2ee technical lead position & also looking for "Java Guidewire claimcentre" experienced professional for Bangalore location if interested can reach srisanh@gmail.com
What are the considerations to be made in case of loops in java ?
What is the use of hashcode in java ?
Hi Friends , am newbie to ajax. For example just consider one account registration - A form contains 8 text fields with submit button. In this form second texbox contains "username " . On right side of text box there is a label box . On clilck action i need to determine user is available or not. Is it possible on clicking label or should i click submit button.
please mail me the interview question based on java/j2ee
What is an algorithm in java collection framework? : java collections
What are the different types of features of the java collections framework? : java collections
Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?
In hyderabad, which s/w training center is best for java, other than corejava what r the new tools to learn in java,which tool is best & have current requirement,pls give me information about java to learn ?
What is iterator in the java collections framework? : java collections