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
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 ?
who will give req's to u?. how they send req's to u? . what design documents contains?. when bugs raised on other developer code how to report to them?.(throgh mail or ........). how to retrive 100 recods from dao layer to presentation layer.using which collection?. what is sequence diagram.?.
What are the classes in the java collection framework? : java collections
What is an algorithm in java collection framework? : java collections
What is the Spring2.5 MVC Navigation flow?
Which interface does java.util.hashtable implement?
Which server-side script takes the input from JavaScript, can access the database if it needs to, and processes the data.
What are the interfaces in java collections? : java collections
What is iterator in the java collections framework? : java collections
my interviewer asked me what technical specification you used how to answer that question
please mail me the interview question based on java/j2ee
What are maps interfaces in the java collections? : java collections
What are the types of java collections? : java collections
Which java collection class can be used to maintain the entries in the order in which they were last accessed?
What is the use of hashcode in java ?